Class AbstractIndexComponent

java.lang.Object
org.opensearch.index.AbstractIndexComponent
All Implemented Interfaces:
IndexComponent
Direct Known Subclasses:
AbstractCharFilterFactory, AbstractIndexAnalyzerProvider, AbstractTokenFilterFactory, AbstractTokenizerFactory, BitsetFilterCache, DisabledQueryCache, IndexCache, IndexFieldDataService, IndexQueryCache, IndexService, MapperService, SimilarityService

public abstract class AbstractIndexComponent extends Object implements IndexComponent
A base class for new index components
Opensearch.internal:
  • Field Details

    • logger

      protected final org.apache.logging.log4j.Logger logger
    • deprecationLogger

      protected final DeprecationLogger deprecationLogger
    • indexSettings

      protected final IndexSettings indexSettings
  • Constructor Details

    • AbstractIndexComponent

      protected AbstractIndexComponent(IndexSettings indexSettings)
      Constructs a new index component, with the index name and its settings.
  • Method Details

    • index

      public org.opensearch.core.index.Index index()
      Specified by:
      index in interface IndexComponent
    • getIndexSettings

      public IndexSettings getIndexSettings()