If the search function in your PrestaShop store is not returning products correctly, the search index may be outdated or incomplete.
PrestaShop uses an index to speed up product searches. When products are added, modified, or imported, the index may sometimes need to be rebuilt to ensure that all products appear correctly in search results.
Table of Contents
When Should You Rebuild the Search Index?
Rebuilding the search index can help if:
- Products do not appear in search results.
- Recently added products cannot be found.
- Search results are incomplete.
- Product names or descriptions have been updated but searches do not reflect the changes.
Step 1: Log In to the PrestaShop Administration Panel
Access your PrestaShop back office using an administrator account.
Step 2: Open the Search Settings
From the left-hand menu, navigate to:
Preferences → Search
Depending on your PrestaShop version, this section may be located under a different menu category, but it is typically accessible through the store settings.
Step 3: Rebuild the Search Index
Scroll to the Indexing section.
Click:
Rebuild Entire Index
PrestaShop will begin rebuilding the search index for all products in the store.
What to Expect
The indexing process may take several minutes, depending on the number of products in your catalog.
During this process:
- Existing products are reindexed.
- Product names, descriptions, and searchable attributes are processed again.
- Search results should become more accurate once the process is complete.
For larger stores, avoid closing the browser window until the operation has finished.
If Products Still Do Not Appear in Search Results
If rebuilding the index does not resolve the issue, check the following:
- The products are enabled and visible in the catalog.
- Product names and descriptions contain searchable keywords.
- The products are assigned to the correct shop (for multistore installations).
- Search settings have not been modified in a way that excludes certain products.
You may also want to clear the PrestaShop cache and test the search function again.
Summary
PrestaShop relies on a search index to display products in search results. If products cannot be found correctly, rebuilding the entire index from Preferences → Search is often the first step in resolving the problem. This process refreshes the searchable data and can restore accurate search results throughout the store.