Class MyCustomAnalyzer

Object
Analyzer
MyCustomAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable

public class MyCustomAnalyzer extends Analyzer
  • Nested Class Summary

    Nested classes/interfaces inherited from class Analyzer

    Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents
  • Field Summary

    Fields inherited from class Analyzer

    GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Analyzer.TokenStreamComponents
     

    Methods inherited from class Analyzer

    attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, initReader, initReaderForNormalization, normalize, normalize, tokenStream, tokenStream

    Methods inherited from class Object

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

    • MyCustomAnalyzer

      public MyCustomAnalyzer()
  • Method Details

    • createComponents

      protected Analyzer.TokenStreamComponents createComponents(String fieldName)
      Specified by:
      createComponents in class Analyzer