Class InsensitivePunctAnalyzer

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Direct Known Subclasses:
    SensitivePunctAnalyzer

    public class InsensitivePunctAnalyzer
    extends org.apache.lucene.analysis.Analyzer
    Analyzer that separates tokens on whitespace and punctuation, converts tokens to lowercase and ascii
    • Nested Class Summary

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

        org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, 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 Detail

      • InsensitivePunctAnalyzer

        public InsensitivePunctAnalyzer​(boolean sensitive)
      • InsensitivePunctAnalyzer

        public InsensitivePunctAnalyzer()
      • InsensitivePunctAnalyzer

        public InsensitivePunctAnalyzer​(org.apache.lucene.util.Version version)
    • Method Detail

      • createComponents

        protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(String fieldName,
                                                                                             Reader reader)
        Specified by:
        createComponents in class org.apache.lucene.analysis.Analyzer