Class FieldNameAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.AnalyzerWrapper
org.apache.lucene.analysis.DelegatingAnalyzerWrapper
org.opensearch.index.analysis.FieldNameAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable

public final class FieldNameAnalyzer extends org.apache.lucene.analysis.DelegatingAnalyzerWrapper
Analysis chain for field names
Opensearch.internal:
  • 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
    FieldNameAnalyzer(Map<String,org.apache.lucene.analysis.Analyzer> analyzers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.apache.lucene.analysis.Analyzer>
     
    protected org.apache.lucene.analysis.Analyzer
     

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

    wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization

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

    attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize

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

    close, getReuseStrategy, normalize, tokenStream, tokenStream

    Methods inherited from class java.lang.Object

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

    • FieldNameAnalyzer

      public FieldNameAnalyzer(Map<String,org.apache.lucene.analysis.Analyzer> analyzers)
  • Method Details

    • analyzers

      public Map<String,org.apache.lucene.analysis.Analyzer> analyzers()
    • getWrappedAnalyzer

      protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(String fieldName)
      Specified by:
      getWrappedAnalyzer in class org.apache.lucene.analysis.AnalyzerWrapper