Class InsensitivePunctAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.fryske_akademy.exist.lucene.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 Summary

    Constructors
    Constructor
    Description
     
    InsensitivePunctAnalyzer(boolean sensitive)
     
    InsensitivePunctAnalyzer(org.apache.lucene.util.Version version)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    createComponents(String fieldName, Reader reader)
     

    Methods inherited from class org.apache.lucene.analysis.Analyzer

    close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, setVersion, tokenStream, tokenStream

    Methods inherited from class java.lang.Object

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

    • InsensitivePunctAnalyzer

      public InsensitivePunctAnalyzer(boolean sensitive)
    • InsensitivePunctAnalyzer

      public InsensitivePunctAnalyzer()
    • InsensitivePunctAnalyzer

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

    • createComponents

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