Class LuceneSimpleAnalyzer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class LuceneSimpleAnalyzer
    extends org.apache.lucene.analysis.Analyzer
    Author:
    Narcis Marcu (narcism@users.sourceforge.net)
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer

        org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    • Field Summary

      • Fields inherited from class org.apache.lucene.analysis.Analyzer

        GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
    • Constructor Summary

      Constructors 
      Constructor Description
      LuceneSimpleAnalyzer​(boolean isCaseSensitive, boolean removeAccents)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(java.lang.String fieldName)  
      • Methods inherited from class org.apache.lucene.analysis.Analyzer

        attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, normalize, setVersion, tokenStream, tokenStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LuceneSimpleAnalyzer

        public LuceneSimpleAnalyzer​(boolean isCaseSensitive,
                                    boolean removeAccents)
    • Method Detail

      • createComponents

        protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(java.lang.String fieldName)
        Specified by:
        createComponents in class org.apache.lucene.analysis.Analyzer