public static class LegacyFloatFieldMapper.CustomFloatNumericField extends LegacyNumberFieldMapper.CustomNumericField
Constructor and Description |
---|
CustomFloatNumericField(float number,
LegacyNumberFieldMapper.NumberFieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
numericAsString() |
org.apache.lucene.analysis.TokenStream |
tokenStream(org.apache.lucene.analysis.Analyzer analyzer,
org.apache.lucene.analysis.TokenStream previous) |
getCachedStream, readerValue, stringValue
binaryValue, boost, fieldType, name, numericValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, tokenStreamValue, toString
public CustomFloatNumericField(float number, LegacyNumberFieldMapper.NumberFieldType fieldType)
public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream previous)
tokenStream
in interface org.apache.lucene.index.IndexableField
tokenStream
in class org.apache.lucene.document.Field
public java.lang.String numericAsString()
numericAsString
in class LegacyNumberFieldMapper.CustomNumericField