Interface IndexerSearchService<T extends com.broadleafcommerce.search.api.domain.FieldDefinition>

  • All Known Implementing Classes:
    DefaultIndexerSearchService

    public interface IndexerSearchService<T extends com.broadleafcommerce.search.api.domain.FieldDefinition>
    Service used by the search indexer to interact with the search service.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void clearCache​(com.broadleafcommerce.search.api.type.IndexableType indexableType)
      Clear any cached fields for the indexable type.
      List<T> readFieldsByIndexableType​(com.broadleafcommerce.search.api.type.IndexableType indexableType)
      Returns a list of Search fields by IndexableType
    • Method Detail

      • readFieldsByIndexableType

        List<T> readFieldsByIndexableType​(com.broadleafcommerce.search.api.type.IndexableType indexableType)
        Returns a list of Search fields by IndexableType
        Parameters:
        indexableType - The indexable type
        Returns:
        Search fields associated with the IndexableType
      • clearCache

        void clearCache​(com.broadleafcommerce.search.api.type.IndexableType indexableType)
        Clear any cached fields for the indexable type.
        Parameters:
        indexableType - The indexable type to clear