public static enum GeoPointField.TermEncoding extends Enum<GeoPointField.TermEncoding>
Enum Constant and Description |
---|
NUMERIC
Deprecated.
encodes prefix and full resolution terms - use with
NumericTokenStream |
PREFIX
encodes prefix terms only resulting in a small index and faster queries - use with
GeoPointTokenStream |
Modifier and Type | Method and Description |
---|---|
static GeoPointField.TermEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoPointField.TermEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoPointField.TermEncoding PREFIX
GeoPointTokenStream
@Deprecated public static final GeoPointField.TermEncoding NUMERIC
NumericTokenStream
public static GeoPointField.TermEncoding[] values()
for (GeoPointField.TermEncoding c : GeoPointField.TermEncoding.values()) System.out.println(c);
public static GeoPointField.TermEncoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.