public class LongNumericAnalyzer extends NumericAnalyzer
NumericAnalyzer for long value.| Modifier and Type | Class and Description |
|---|---|
class |
LongNumericAnalyzer.LongNumericParser |
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.TokenStreamComponentsprecisionStep| Constructor and Description |
|---|
LongNumericAnalyzer(int precisionStep) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName,
Reader reader) |
LongNumericAnalyzer.LongNumericParser |
getNumericParser()
Returns the
NumericAnalyzer.NumericParser associated to this analyzer. |
getPrecisionStepprotected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents in class org.apache.lucene.analysis.Analyzerpublic LongNumericAnalyzer.LongNumericParser getNumericParser()
NumericAnalyzerNumericAnalyzer.NumericParser associated to this analyzer.getNumericParser in class NumericAnalyzerCopyright © 2014. All rights reserved.