Class CustomDocValuesField

  • All Implemented Interfaces:
    org.apache.lucene.index.IndexableField
    Direct Known Subclasses:
    BinaryFieldMapper.CustomBinaryDocValuesField

    public abstract class CustomDocValuesField
    extends java.lang.Object
    implements org.apache.lucene.index.IndexableField
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.lucene.document.FieldType TYPE  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CustomDocValuesField​(java.lang.String name)  
    • Method Summary

      Modifier and Type Method Description
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.lucene.index.IndexableField

        binaryValue, getCharSequenceValue
    • Field Detail

      • TYPE

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

      • CustomDocValuesField

        protected CustomDocValuesField​(java.lang.String name)
    • Method Detail

      • name

        public java.lang.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 java.lang.String stringValue()
        Specified by:
        stringValue in interface org.apache.lucene.index.IndexableField
      • readerValue

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

        public java.lang.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