public static class LegacyGeoPointFieldMapper.CustomGeoPointDocValuesField
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.document.FieldType |
TYPE |
Constructor and Description |
---|
CustomGeoPointDocValuesField(java.lang.String name,
double lat,
double lon) |
Modifier and Type | Method and Description |
---|---|
void |
add(double lat,
double lon) |
org.apache.lucene.util.BytesRef |
binaryValue() |
float |
boost() |
org.apache.lucene.index.IndexableFieldType |
fieldType() |
java.lang.String |
name() |
java.lang.Number |
numericValue() |
java.io.Reader |
readerValue() |
java.lang.String |
stringValue() |
org.apache.lucene.analysis.TokenStream |
tokenStream(org.apache.lucene.analysis.Analyzer analyzer,
org.apache.lucene.analysis.TokenStream reuse) |
public CustomGeoPointDocValuesField(java.lang.String name, double lat, double lon)
public void add(double lat, double lon)
public org.apache.lucene.util.BytesRef binaryValue()
public java.lang.String name()
name
in interface org.apache.lucene.index.IndexableField
public org.apache.lucene.index.IndexableFieldType fieldType()
fieldType
in interface org.apache.lucene.index.IndexableField
public float boost()
boost
in interface org.apache.lucene.index.IndexableField
public java.lang.String stringValue()
stringValue
in interface org.apache.lucene.index.IndexableField
public java.io.Reader readerValue()
readerValue
in interface org.apache.lucene.index.IndexableField
public java.lang.Number numericValue()
numericValue
in interface org.apache.lucene.index.IndexableField
public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream reuse)
tokenStream
in interface org.apache.lucene.index.IndexableField