Class GeoPointFieldMapper.LatLonPointWithDocValues

java.lang.Object
org.apache.lucene.document.Field
org.elasticsearch.index.mapper.GeoPointFieldMapper.LatLonPointWithDocValues
All Implemented Interfaces:
org.apache.lucene.index.IndexableField
Enclosing class:
GeoPointFieldMapper

public static class GeoPointFieldMapper.LatLonPointWithDocValues extends org.apache.lucene.document.Field
Utility class that allows adding index and doc values in one field
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.document.Field

    org.apache.lucene.document.Field.Store
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.lucene.document.FieldType
     

    Fields inherited from class org.apache.lucene.document.Field

    fieldsData, name, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    LatLonPointWithDocValues(String name, double latitude, double longitude)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.apache.lucene.document.Field

    binaryValue, fieldType, getCharSequenceValue, invertableType, name, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, storedValue, stringValue, tokenStream, tokenStreamValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • TYPE

      public static final org.apache.lucene.document.FieldType TYPE
  • Constructor Details

    • LatLonPointWithDocValues

      public LatLonPointWithDocValues(String name, double latitude, double longitude)
  • Method Details

    • numericValue

      public Number numericValue()
      Specified by:
      numericValue in interface org.apache.lucene.index.IndexableField
      Overrides:
      numericValue in class org.apache.lucene.document.Field
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.lucene.document.Field