Package org.elasticsearch.index.mapper
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 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)
-
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
name
in interfaceorg.apache.lucene.index.IndexableField
-
fieldType
public org.apache.lucene.index.IndexableFieldType fieldType()
- Specified by:
fieldType
in interfaceorg.apache.lucene.index.IndexableField
-
stringValue
public java.lang.String stringValue()
- Specified by:
stringValue
in interfaceorg.apache.lucene.index.IndexableField
-
readerValue
public java.io.Reader readerValue()
- Specified by:
readerValue
in interfaceorg.apache.lucene.index.IndexableField
-
numericValue
public java.lang.Number numericValue()
- Specified by:
numericValue
in interfaceorg.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 interfaceorg.apache.lucene.index.IndexableField
-
-