org.squashtest.tm.service.internal.library
Class StandardAnalyzerWithoutStopWords

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.squashtest.tm.service.internal.library.StandardAnalyzerWithoutStopWords
All Implemented Interfaces:
Closeable

public class StandardAnalyzerWithoutStopWords
extends org.apache.lucene.analysis.Analyzer


Constructor Summary
StandardAnalyzerWithoutStopWords()
           
StandardAnalyzerWithoutStopWords(org.apache.lucene.util.Version version)
           
 
Method Summary
 int getMaxTokenLength()
           
 int getOffsetGap(org.apache.lucene.document.Fieldable field)
           
 int getPositionIncrementGap(String fieldName)
           
 Set<?> getStopwordSet()
           
 org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName, Reader reader)
           
 void setMaxTokenLength(int length)
           
 org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getPreviousTokenStream, setPreviousTokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardAnalyzerWithoutStopWords

public StandardAnalyzerWithoutStopWords(org.apache.lucene.util.Version version)

StandardAnalyzerWithoutStopWords

public StandardAnalyzerWithoutStopWords()
Method Detail

getMaxTokenLength

public int getMaxTokenLength()

setMaxTokenLength

public void setMaxTokenLength(int length)

reusableTokenStream

public org.apache.lucene.analysis.TokenStream reusableTokenStream(String fieldName,
                                                                  Reader reader)
                                                           throws IOException
Overrides:
reusableTokenStream in class org.apache.lucene.analysis.Analyzer
Throws:
IOException

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
                                                          Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer

getOffsetGap

public int getOffsetGap(org.apache.lucene.document.Fieldable field)
Overrides:
getOffsetGap in class org.apache.lucene.analysis.Analyzer

getPositionIncrementGap

public int getPositionIncrementGap(String fieldName)
Overrides:
getPositionIncrementGap in class org.apache.lucene.analysis.Analyzer

getStopwordSet

public Set<?> getStopwordSet()


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.