Managing Search Index
VirtoCommerce uses custom analyzer to extract tokens from the text when building search index. Following token filters are supported:
custom_edge_ngram (default) custom_ngram
Scenarios
View Document Types in Search Index
- In order to view the Documents type, the user should open the 'Search index' tab;
- The system will open the 'Document types' blade and display a table containing the following columns:
- Document type;
- Last indexed;
- Docs count;
- Provider;
- Scope.
- The following types of documents will be displayed in the table:
- Product;
- Category;
- Member.
- The 'Build index' button is disabled if no document type is selected.
Build Index
- The user selects a Document type (example Product) and clicks the 'Build Index' button
- The system will display a pop up window with the following message: 'Choose how to update the Search Index. Options: Build: index for all data without recreating. Delete + build: Current search index will be deleted and built from scratch. Note that there WON'T BE ANY SEARCH RESULTS until the build process finishes.'
- 'Build', 'Delete + Build', 'Cancel' buttons are active
- The user clicks the 'Build' button
- The build will run through all the objects and index them into the search engine.
Delete And Build Index
- The user selects a Document type (example Product) and clicks the 'Build Index' button
- The system will display a pop up window with the following message: 'Choose how to update the Search Index. Options: Build: index for all data without recreating. Delete + build: Current search index will be deleted and built from scratch. Note that there WON'T BE ANY SEARCH RESULTS until the build process finishes.'
- 'Build', 'Delete + Build', 'Cancel' buttons are active
- The user clicks the 'Delete+Build' button
- The current search index of the selected document will be deleted and indexing process will start. 'Delete+Build' is a system operation.
Last update:
December 7, 2023