Class SearchConfigEntityIndexExtractor

java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.indexing.extractor.DefaultEntityIndexExtractor
ch.tocco.nice2.enterprisesearch.impl.indexing.extractor.SearchConfigEntityIndexExtractor
All Implemented Interfaces:
IndexExtractor

@Component @Order(-100) public class SearchConfigEntityIndexExtractor extends DefaultEntityIndexExtractor
Extractor for entities which contain a search config.
  • Constructor Details

  • Method Details

    • extract

      @Nullable public @Nullable Map<String,Object> extract(Entity entity)
      Description copied from interface: IndexExtractor
      If result is not null, it will be taken for indexing.
      Parameters:
      entity - Entity for extracting content.
      Returns:
      null if is not handled by the current extractor or an result if it's handled.
    • extract

      @Nullable public @Nullable Map<String,Object> extract(Entity entity, FieldIndexExtractorFilter filter)
      Description copied from interface: IndexExtractor
      If result is not null, it will be taken for indexing.
      Specified by:
      extract in interface IndexExtractor
      Overrides:
      extract in class DefaultEntityIndexExtractor
      Parameters:
      entity - Entity for extracting content.
      Returns:
      null if is not handled by the current extractor or an result if it's handled.