Search commands and pipelines
The following table describes the commands and pipelines for index and document management via the Search service:
|
Command/Pipeline |
Description |
|
|
Creates an index based on the IndexablePolicy and SearchScopePolicy. |
|
|
Deletes an index (specified by name). |
|
|
Retrieves an index (specified by name). |
|
|
Initializes an index (specified by name). |
|
|
Lists all indexes in the system. |
|
|
Searches documents in an index. |
|
|
Searches Commerce entities using the provider agnostic generic search framework. Executes the |
|
|
Executes a provider agnostic search. |
|
|
Updates an index based on the IndexablePolicy and SearchScopePolicy. |
|
|
Adds documents to an index. |
|
|
Identifies documents to be deleted from index. |
|
|
Counts the number of documents contained in the index. |
|
|
Removes documents from an index for entities that have been deleted from the system. Receives: |
|
|
Used by the Full Index Minion to process entities. Receives: |
|
|
Used by the Incremental Index Minion to process entities. Receives: |
|
|
Prepares for deletion of index documents. Receives: |
|
|
Before processing any entity, checks if the index exists. If the index exists, the pipeline deletes it, and then recreates it. If the index does not exist, it creates it. Receives: Returns: |
|
|
Before processing any entity, checks if the index exists. If the index exists, the pipeline deletes it, and then recreates it. If the index does not exist, it creates. Receives: |