In instances where an item is being returned on your frontend (FE), but does not exist within your index (and is therefore not appearing in the dashboard), it’s important to first check the following:
- Is there is an active AB test running?
- Does the product that is being returned on your FE still exist in the Variant B index?
In the context of AB tests configured using the Algolia dashboard, the requests sent from your frontend are initially sent to the same (control) index to mitigate the need to modify any of your code.
When the engine receives the request, it is then routed to one of the AB test variants. You can verify which index is being used to return results by checking the indexUsed parameter of the query response when sending getRankingInfo:true as a query parameter.
It is likely that the item in question is returned when the request is routed to the Variant B index. In these cases, the response returns:
"index":[Variant_A]
"indexUsed":[Variant_B]
You can also verify which index variant has been queried, and which AB test is currently running, by checking the abTestVariantID and abTestID parameters of the query response respectively.
If, however, you are seeing:
- discrepancies between the API response for the 'indexUsed' and the equivalent index in the dashboard or
- have no active AB tests running
please reach out to us at Support and we will be happy to investigate further for you.
When contacting us, please provide an example payload of what the API response is returning vs what is displayed in the dashboard, including the API request that was sent. You can follow the steps here to capture the payload.