Skip to content

Manage 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

  1. In order to view the Documents type, the user should open the 'Search index' tab;
  2. The system will open the 'Document types' blade and display a table containing the following columns:
    1. Document type;
    2. Last indexed;
    3. Docs count;
    4. Provider;
    5. Scope.
  3. The following types of documents will be displayed in the table:
    1. Product;
    2. Category;
    3. Member.
  4. The 'Build index' button is disabled if no document type is selected.

Build Index

  1. The user selects a Document type (example Product) and clicks the 'Build Index' button
  2. 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.'
  3. 'Build', 'Delete + Build', 'Cancel' buttons are active
  4. The user clicks the 'Build' button
  5. The build will run through all the objects and index them into the search engine.

Fig. Build Index

Delete And Build Index

  1. The user selects a Document type (example Product) and clicks the 'Build Index' button
  2. 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.'
  3. 'Build', 'Delete + Build', 'Cancel' buttons are active
  4. The user clicks the 'Delete+Build' button
  5. The current search index of the selected document will be deleted and indexing process will start. 'Delete+Build' is a system operation.

Fig. Delete and Build Index


Last update: March 2, 2021