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.TokenStreamComponents
precisionStep
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. |
getPrecisionStep
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
createComponents
in class org.apache.lucene.analysis.Analyzer
public LongNumericAnalyzer.LongNumericParser getNumericParser()
NumericAnalyzer
NumericAnalyzer.NumericParser
associated to this analyzer.getNumericParser
in class NumericAnalyzer
Copyright © 2014. All rights reserved.