Interface IndexerBatchStrategy

All Known Implementing Classes:
DefaultIndexerBatchStrategy

public interface IndexerBatchStrategy
Strategy for performing batch indexing.
  • Method Details

    • setExternalIndexOperation

      void setExternalIndexOperation(boolean externalIndexOperation)
      Sets the external index operation to be used.
      Parameters:
      externalIndexOperation - - the external index operation
    • setFacetSearchConfig

      void setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
      Sets the facet search config to be used.
      Parameters:
      facetSearchConfig - - the facet search config to be used
    • setIndex

      void setIndex(Index index)
      Sets the index to be used
      Parameters:
      index - - the index to be used
    • setIndexedProperties

      void setIndexedProperties(Collection<IndexedProperty> indexedProperties)
      Sets the indexed properties to be used
      Parameters:
      indexedProperties - - the indexed properties to be used
    • setIndexedType

      void setIndexedType(IndexedType indexedType)
      Sets the indexed type to be used
      Parameters:
      indexedType - - the indexed type to be used
    • setIndexerHints

      void setIndexerHints(Map<String,String> indexerHints)
      Sets the indexer hints to be used
      Parameters:
      indexerHints - - the indexer hints to be used
    • setIndexOperation

      void setIndexOperation(IndexOperation indexOperation)
      Sets the index operation to be used
      Parameters:
      indexOperation - - the index operation to be used
    • setIndexOperationId

      void setIndexOperationId(long indexOperationId)
      Sets the indexed operation id to be used
      Parameters:
      indexOperationId - - the indexed operation id to be used
    • setPks

      void setPks(List<PK> pks)
      Sets the pks to be used
      Parameters:
      pks - - the pks to be used
    • execute

      void execute() throws InterruptedException, IndexerException
      Executes the strategy.
      Throws:
      InterruptedException - throw if a thread is interrupted
      IndexerException - if an error occurs during the strategy execution