Class CustomDocValuesField

java.lang.Object
org.elasticsearch.index.mapper.CustomDocValuesField
All Implemented Interfaces:
org.apache.lucene.index.IndexableField
Direct Known Subclasses:
BinaryFieldMapper.CustomBinaryDocValuesField

public abstract class CustomDocValuesField extends Object implements org.apache.lucene.index.IndexableField
  • Field Details

    • TYPE

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

    • CustomDocValuesField

      protected CustomDocValuesField(String name)
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface org.apache.lucene.index.IndexableField
    • fieldType

      public org.apache.lucene.index.IndexableFieldType fieldType()
      Specified by:
      fieldType in interface org.apache.lucene.index.IndexableField
    • stringValue

      public String stringValue()
      Specified by:
      stringValue in interface org.apache.lucene.index.IndexableField
    • readerValue

      public Reader readerValue()
      Specified by:
      readerValue in interface org.apache.lucene.index.IndexableField
    • numericValue

      public Number numericValue()
      Specified by:
      numericValue in interface org.apache.lucene.index.IndexableField
    • tokenStream

      public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream reuse)
      Specified by:
      tokenStream in interface org.apache.lucene.index.IndexableField