The default search provider for Optimizely Configured Commerce is Elasticsearch version 5. You can upgrade to Elasticsearch version 7 by updating the Search Provider Name and Search Indexer Name in Search Settings. Because this change requires a Full Rebuild of the search index, the new search provider is down until the rebuild has completed. To avoid this downtime, follow the steps below.
Before changing to version 7, check if you currently have custom extensions in Elasticsearch version 5. If so, you may want to migrate your code first to use Elasticsearch version 7 (default Build Version 2) and third party search pipelines.
- Go to Administration > Settings > Search.
- Set the Search Indexer Name to Elasticsearch v7.
- Keep the Search Provider Name as Elasticsearch to avoid downtime until the new Elasticsearch v7 index is ready. Elasticsearch v7 receives the default Search Index settings. You can manually update these settings by copying from Elasticsearch v5.
- Click Save.
- Go to Marketing > Indexing.
- Click Rebuild All.
- Wait for the process to finish, and verify that it completed successfully.
- Go to Administration > Settings > Search.
- Verify that the Search Provider Name has changed to Elasticsearch v7.
Please sign in to leave a comment.