Reindex catalog search and refresh the full page cache
After you change the search engine configuration, you must reindex the catalog search index and refresh the full page cache using the Admin or command line.
To refresh the cache using the Admin:
-
In the Admin, click System > Cache Management.
-
Select the checkbox next to Page Cache.
-
From the Actions list in the upper right, click Refresh.
To clean the cache using the command line: bin/magento cache:clean
To reindex using the command line:
-
Log in to your Commerce server as, or switch to, the file system owner.
-
Enter any of the following commands:
Enter the following command to reindex the catalog search index only:
bin/magento indexer:reindex catalogsearch_fulltext
Enter the following command to reindex all indexers:
bin/magento indexer:reindex
-
Wait until reindexing completes.
INFO
Unlike the cache, indexers are updated by a cron job. Make sure cron is enabled before you start using your search engine.