public interface IndexerService
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFromIndex(FacetSearchConfig facetSearchConfig)
Removes some items from the index.
|
void |
deleteFromIndex(FacetSearchConfig facetSearchConfig,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
deleteFromIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter. |
void |
deleteTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType)
Removes some items from the index for a specific type.
|
void |
deleteTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.List<PK> pks)
Removes some items from the index for a specific type.
|
void |
deleteTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.List<PK> pks,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
deleteTypeIndex(FacetSearchConfig, IndexedType, List) but allows to pass the indexer hints as
parameter. |
void |
deleteTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
deleteTypeIndex(FacetSearchConfig, IndexedType) but allows to pass the indexer hints as
parameter. |
void |
performFullIndex(FacetSearchConfig facetSearchConfig)
Performs a full index operation which recreates the index.
|
void |
performFullIndex(FacetSearchConfig facetSearchConfig,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
performFullIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter. |
void |
updateIndex(FacetSearchConfig facetSearchConfig)
Updates some items on the index.
|
void |
updateIndex(FacetSearchConfig facetSearchConfig,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
updateIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter. |
void |
updatePartialTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.Collection<IndexedProperty> indexedProperties,
java.util.List<PK> pks)
Updates some properties of some items on the index for a specific type.
|
void |
updatePartialTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.Collection<IndexedProperty> indexedProperties,
java.util.List<PK> pks,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
updatePartialTypeIndex(FacetSearchConfig, IndexedType, Collection, List) but allows to pass the
indexer hints as parameter. |
void |
updateTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType)
Updates some items on the index for a specific type.
|
void |
updateTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.List<PK> pks)
Updates some items on the index for a specific type.
|
void |
updateTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.List<PK> pks,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
updateTypeIndex(FacetSearchConfig, IndexedType, List) but allows to pass the indexer hints as
parameter. |
void |
updateTypeIndex(FacetSearchConfig facetSearchConfig,
IndexedType indexedType,
java.util.Map<java.lang.String,java.lang.String> indexerHints)
Same as
updateTypeIndex(FacetSearchConfig, IndexedType) but allows to pass the indexer hints as
parameter. |
void performFullIndex(FacetSearchConfig facetSearchConfig) throws IndexerException
facetSearchConfig - - configuration for indexer instanceIndexerException - exception is thrown when full index query is missing in configuration or an unexpected error occurs
during indexing.void performFullIndex(FacetSearchConfig facetSearchConfig, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
performFullIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter.facetSearchConfig - - configuration for indexer instanceindexerHints - - the indexer hintsIndexerException - exception is thrown when full index query is missing in configuration or an unexpected error occurs
during indexing.void updateIndex(FacetSearchConfig facetSearchConfig) throws IndexerException
facetSearchConfig - - configuration for indexer instanceIndexerException - exception is thrown when update index query is missing in configuration or an unexpected error occurs
during indexing.void updateIndex(FacetSearchConfig facetSearchConfig, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
updateIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter.facetSearchConfig - - configuration for indexer instanceindexerHints - - the indexer hintsIndexerException - exception is thrown when update index query is missing in configuration or an unexpected error occurs
during indexing.void updateTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType) throws IndexerException
facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeIndexerException - exception is thrown when update index query is missing in configuration or an unexpected error occurs
during indexing.void updateTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
updateTypeIndex(FacetSearchConfig, IndexedType) but allows to pass the indexer hints as
parameter.facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeindexerHints - - the indexer hintsIndexerException - exception is thrown when update index query is missing in configuration or an unexpected error occurs
during indexing.void updateTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.List<PK> pks) throws IndexerException
facetSearchConfig - - configuration for indexer instanceindexedType - - selected typepks - - pks of items to be updatedIndexerException - exception is thrown when an unexpected error occurs during indexing.void updateTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.List<PK> pks, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
updateTypeIndex(FacetSearchConfig, IndexedType, List) but allows to pass the indexer hints as
parameter.facetSearchConfig - - configuration for indexer instanceindexedType - - selected typepks - - pks of items to be updatedindexerHints - - the indexer hintsIndexerException - exception is thrown when an unexpected error occurs during indexing.void updatePartialTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.Collection<IndexedProperty> indexedProperties, java.util.List<PK> pks) throws IndexerException
facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeindexedProperties - - properties to updatepks - - pks of items to be updatedIndexerException - exception is thrown when an unexpected error occurs during indexing.void updatePartialTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.Collection<IndexedProperty> indexedProperties, java.util.List<PK> pks, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
updatePartialTypeIndex(FacetSearchConfig, IndexedType, Collection, List) but allows to pass the
indexer hints as parameter.facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeindexedProperties - - properties to updatepks - - pks of items to be updatedindexerHints - - the indexer hintsIndexerException - exception is thrown when an unexpected error occurs during indexing.void deleteFromIndex(FacetSearchConfig facetSearchConfig) throws IndexerException
facetSearchConfig - - configuration for indexer instanceIndexerException - exception is thrown when delete index query is missing in configuration or an unexpected error occurs
during indexing.void deleteFromIndex(FacetSearchConfig facetSearchConfig, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
deleteFromIndex(FacetSearchConfig) but allows to pass the indexer hints as parameter.facetSearchConfig - - configuration for indexer instanceindexerHints - - the indexer hintsIndexerException - exception is thrown when delete index query is missing in configuration or an unexpected error occurs
during indexing.void deleteTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType) throws IndexerException
facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeIndexerException - exception is thrown when delete index query is missing in configuration or an unexpected error occurs
during indexing.void deleteTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
deleteTypeIndex(FacetSearchConfig, IndexedType) but allows to pass the indexer hints as
parameter.facetSearchConfig - - configuration for indexer instanceindexedType - - selected typeindexerHints - - the indexer hintsIndexerException - exception is thrown when delete index query is missing in configuration or an unexpected error occurs
during indexing.void deleteTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.List<PK> pks) throws IndexerException
facetSearchConfig - - configuration for indexer instanceindexedType - - selected typepks - - pks of items to be removedIndexerException - exception is thrown when an unexpected error occurs during indexing.void deleteTypeIndex(FacetSearchConfig facetSearchConfig, IndexedType indexedType, java.util.List<PK> pks, java.util.Map<java.lang.String,java.lang.String> indexerHints) throws IndexerException
deleteTypeIndex(FacetSearchConfig, IndexedType, List) but allows to pass the indexer hints as
parameter.facetSearchConfig - - configuration for indexer instanceindexedType - - selected typepks - - pks of items to be removedindexerHints - - the indexer hintsIndexerException - exception is thrown when an unexpected error occurs during indexing.Copyright © 2018 SAP SE. All Rights Reserved.