org.elasticsearch.index.analysis
Class NumericFloatTokenizer

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.analysis.Tokenizer
              extended by org.elasticsearch.index.analysis.NumericTokenizer
                  extended by org.elasticsearch.index.analysis.NumericFloatTokenizer
All Implemented Interfaces:
Closeable

public class NumericFloatTokenizer
extends NumericTokenizer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
Field Summary
 
Fields inherited from class org.elasticsearch.index.analysis.NumericTokenizer
extra
 
Fields inherited from class org.apache.lucene.analysis.Tokenizer
input
 
Constructor Summary
NumericFloatTokenizer(Reader reader, int precisionStep)
           
NumericFloatTokenizer(Reader reader, int precisionStep, char[] buffer)
           
 
Method Summary
protected  void setValue(org.apache.lucene.analysis.NumericTokenStream tokenStream, String value)
           
 
Methods inherited from class org.elasticsearch.index.analysis.NumericTokenizer
incrementToken, reset, reset
 
Methods inherited from class org.apache.lucene.analysis.Tokenizer
close, correctOffset
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
end, reset
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumericFloatTokenizer

public NumericFloatTokenizer(Reader reader,
                             int precisionStep)
                      throws IOException
Throws:
IOException

NumericFloatTokenizer

public NumericFloatTokenizer(Reader reader,
                             int precisionStep,
                             char[] buffer)
                      throws IOException
Throws:
IOException
Method Detail

setValue

protected void setValue(org.apache.lucene.analysis.NumericTokenStream tokenStream,
                        String value)
Specified by:
setValue in class NumericTokenizer


Copyright © 2009-2012. All Rights Reserved.