public class DoubleNumericAnalyzer extends NumericAnalyzer
NumericAnalyzer
for double value.Modifier and Type | Class and Description |
---|---|
class |
DoubleNumericAnalyzer.DoubleNumericParser |
NumericAnalyzer.NumericParser<T extends Number>
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
precisionStep
Constructor and Description |
---|
DoubleNumericAnalyzer(int precisionStep) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
DoubleNumericAnalyzer.DoubleNumericParser |
getNumericParser()
Returns the
NumericAnalyzer.NumericParser associated to this analyzer. |
getPrecisionStep
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents
in class org.apache.lucene.analysis.Analyzer
public DoubleNumericAnalyzer.DoubleNumericParser getNumericParser()
NumericAnalyzer
NumericAnalyzer.NumericParser
associated to this analyzer.getNumericParser
in class NumericAnalyzer
Copyright © 2014. All rights reserved.