public static class DoubleFieldMapper.CustomDoubleNumericField extends NumberFieldMapper.CustomNumericField
Constructor and Description |
---|
CustomDoubleNumericField(NumberFieldMapper mapper,
double number,
org.apache.lucene.document.FieldType fieldType) |
Modifier and Type | Method and Description |
---|---|
String |
numericAsString() |
org.apache.lucene.analysis.TokenStream |
tokenStream(org.apache.lucene.analysis.Analyzer analyzer,
org.apache.lucene.analysis.TokenStream previous) |
readerValue, stringValue
binaryValue, boost, fieldType, name, numericValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, tokenStreamValue, toString, translateFieldType
public CustomDoubleNumericField(NumberFieldMapper mapper, double number, org.apache.lucene.document.FieldType fieldType)
public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream previous) throws IOException
tokenStream
in interface org.apache.lucene.index.IndexableField
tokenStream
in class org.apache.lucene.document.Field
IOException
public String numericAsString()
numericAsString
in class NumberFieldMapper.CustomNumericField
Copyright © 2009–2015. All rights reserved.