public interface IndexerStrategy
IndexerWorker and IndexerWorkerFactory).| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the strategy.
|
void |
setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
Sets the facet search configuration to be used.
|
void |
setIndex(Index index)
Sets the index to be used.
|
void |
setIndexedProperties(Collection<IndexedProperty> indexedProperties)
Sets the index operation to be used.
|
void |
setIndexedType(IndexedType indexedType)
Sets the indexed type to be used.
|
void |
setIndexerHints(Map<String,String> indexerHints)
Sets the indexer hints to be used.
|
void |
setIndexOperation(IndexOperation indexOperation)
Sets the index operation to be used.
|
void |
setPks(List<PK> pks)
Sets the pks of the items to be indexed.
|
void setIndexOperation(IndexOperation indexOperation)
indexOperation - - the index operationvoid setFacetSearchConfig(FacetSearchConfig facetSearchConfig)
facetSearchConfig - - the index operationvoid setIndexedType(IndexedType indexedType)
indexedType - - the index operationvoid setIndexedProperties(Collection<IndexedProperty> indexedProperties)
indexedProperties - - the indexed propertiesvoid setPks(List<PK> pks)
pks - - the pks of the items to be indexedvoid setIndex(Index index)
index - - the indexvoid setIndexerHints(Map<String,String> indexerHints)
indexerHints - - the indexer hints to be usedvoid execute()
throws IndexerException
IndexerException - if an error occurs during the strategy executionCopyright © 2017 SAP SE. All Rights Reserved.