Class InsensitiveWhitespaceAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.fryske_akademy.exist.lucene.InsensitiveWhitespaceAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
SensitiveWhitespaceAnalyzer

public class InsensitiveWhitespaceAnalyzer extends org.apache.lucene.analysis.Analyzer
Analyzer that separates tokens on whitespace, 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
     
    InsensitiveWhitespaceAnalyzer(boolean sensitive)
     
    InsensitiveWhitespaceAnalyzer(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

    • InsensitiveWhitespaceAnalyzer

      public InsensitiveWhitespaceAnalyzer(boolean sensitive)
    • InsensitiveWhitespaceAnalyzer

      public InsensitiveWhitespaceAnalyzer()
    • InsensitiveWhitespaceAnalyzer

      public InsensitiveWhitespaceAnalyzer(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