public final class BKDPointField extends Field
BKDTreeDocValuesFormat for the field.Field.Index, Field.Store, Field.TermVector| Modifier and Type | Field and Description |
|---|---|
static FieldType |
TYPE |
boost, fieldsData, name, tokenStream, type| Constructor and Description |
|---|
BKDPointField(String name,
double lat,
double lon)
Creates a new BKDPointField field with the specified lat and lon
|
binaryValue, boost, fieldType, name, numericValue, readerValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toString, translateFieldTypepublic static final FieldType TYPE
public BKDPointField(String name, double lat, double lon)
name - field namelat - double latitudelon - double longitudeIllegalArgumentException - if the field name is null or lat or lon are out of boundsCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.