public class FloatNumericAnalyzer extends NumericAnalyzer
NumericAnalyzer
for float value.Modifier and Type | Class and Description |
---|---|
class |
FloatNumericAnalyzer.FloatNumericParser |
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 |
---|
FloatNumericAnalyzer(int precisionStep) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
FloatNumericAnalyzer.FloatNumericParser |
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 FloatNumericAnalyzer.FloatNumericParser getNumericParser()
NumericAnalyzer
NumericAnalyzer.NumericParser
associated to this analyzer.getNumericParser
in class NumericAnalyzer
Copyright © 2014. All rights reserved.