public abstract static class LegacyNumberFieldMapper.CustomNumericField
extends org.apache.lucene.document.Field
Constructor and Description |
---|
CustomNumericField(java.lang.Number value,
MappedFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.LegacyNumericTokenStream |
getCachedStream() |
abstract java.lang.String |
numericAsString() |
java.io.Reader |
readerValue() |
java.lang.String |
stringValue() |
binaryValue, boost, fieldType, name, numericValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, tokenStream, tokenStreamValue, toString
public CustomNumericField(java.lang.Number value, MappedFieldType fieldType)
protected org.apache.lucene.analysis.LegacyNumericTokenStream getCachedStream()
public java.lang.String stringValue()
stringValue
in interface org.apache.lucene.index.IndexableField
stringValue
in class org.apache.lucene.document.Field
public java.io.Reader readerValue()
readerValue
in interface org.apache.lucene.index.IndexableField
readerValue
in class org.apache.lucene.document.Field
public abstract java.lang.String numericAsString()