In the Analytics section of the Algolia dashboard, you may see a query listed under Searches without Results even though the same query currently returns results when you test it.
This can happen for several reasons.
The index may have changed since the search was recorded
Searches without Results reflects searches performed during the date range selected.
If records, index settings, synonyms, Rules, or other aspects of the search configuration have changed since then, a query that returned no results at the time may return results now.
When reviewing older analytics data, consider whether the contents or configuration of the index have changed since those searches were performed.
The original search request included filters
A query can return results on its own, but may return no results when filters are applied. You can click on the query in the Searches without Results table to see any additional filters that may have been sent at the time of the request.
These filters can provide additional context about how the query was sent and may help explain why the original search returned no results.
Please note: the popular filters associated with the search are not automatically applied when you click Test this query. Apply the relevant filters manually to determine whether they contributed to the no-results outcome.
The original request may have included additional search parameters
A search request consists of more than the query text. Search requests can include additional query-time parameters, such as GeoSearch parameters, optional words or other query-time settings that affect which records are returned.
For a comprehensive list of parameters that can be sent with a search request, please see Search API Parameters.
Algolia Analytics only retains the filters applied to a search request; it does not preserve all other query-time parameters.
As a result, the information shown in Searches without Results may not include every parameter that was applied to the original search request. This means that testing the same query from the Analytics dashboard may not reproduce the original request exactly and may return results even though the original search did not.
How to troubleshoot
If a query currently returns results but appears in Searches without Results:
- Check the selected date range and consider whether the index data or search configuration has changed since the search was recorded.
- Review the popular filters associated with the query to identify filters that may have limited the results.
- Compare the test search with the request sent by your application to identify any additional query-time parameters that may have affected the results.
If you're unable to determine why the original search request returned no results, contact Algolia Support for further assistance.