If you're unable to enable Dynamic Re-Ranking for one of your indices and see the message below, please follow the steps below to investigate the source of the issue.
1. Have you implemented click and/or conversion events?
To use Dynamic Re-Ranking, you must send click and/or conversion events that contain a queryID as described here.
Algolia AI uses this event data to detect trends in your users’ behavior and re-rank results based on these trends. You can find a guide on how to implement events here.
2. Are you receiving enough events?
If you are not receiving enough events, you won't be eligible for Dynamic Re-Ranking. A records needs at least 20 clicks or 2 conversion events during the last 30 days for a given query for the record to be eligible for re-ranking on that query.
If you do have enough events, check if your events are mainly being sent from empty searches. By default, DRR is not applied to empty searches.
3. Are your events valid?
Even if you're getting a large number of events, you'll still need to ensure that those events are actually valid events. In order for an event to be valid, it must:
- Return a 200 status and show up green in the debugger
- Include a queryID
- Have a timestamp in the event payload within one hour of the corresponding search request
- Have a timestamp in the event payload no more than 4 days old
- Reference a valid index
- Include objectID(s) in the event payload that corresponds with an object in the index
You can find more on how to confirm event validity in this article.
4. Is your source index accurate?
Does your events source index correspond to the index that you are sending events to? You can check this on the settings tab on the Dynamic Re-ranking section:
Re-ranking > Settings > Events source index