Guides / Solutions / Ecommerce / Business user guide / Initial configuration

Before you can use AI re-ranking, you have to track click and conversion events with Algolia. Coordinate with your data or front-end engineering team to implement event tracking.

AI re-ranking analyzes which search results users click and ranks them higher.

To simulate and activate AI re-ranking, follow these steps:

  1. Go to the AI re-ranking page in the Algolia dashboard.
  2. Select the index for which you want to enable AI re-ranking.
  3. Click Start simulating and wait for the simulator to be ready.

    Screenshot of the AI re-ranking section in the Algolia dashboard before starting the re-ranking simulator

  4. Change the Events source index if you want to use a different index to source your user events. By default, AI re-ranking uses the events for the re-ranked index.

  5. Select the Browsing facet option to turn on re-ranking on browsing pages. By default, Algolia doesn’t dynamically re-rank empty queries. Setting a browsing facet enables re-ranking on empty queries with facet filters for that facet.

  6. Enable Event freshness to give more weight to recent events. This setting improves seasonality and short-term search trends.

  7. Simulate the effect of re-ranking by typing sample queries in the Re-ranking Simulator and review the results. On the left of the Re-ranking simulator, you’ll see the results without re-ranking. In the middle, you can see how the order of the search results for a given query changes due to re-ranking. On the right, you’ll see the results after AI re-ranking is applied.

  8. Select Activate Re-Ranking to turn on AI re-ranking in production.
  9. Launch an A/B test for AI re-ranking.

    Screenshot of the settings for AI re-ranking in the Algolia dashboard

  10. In the Launch Re-ranking A/B Test dialog, select the traffic split, test duration, and an optional Re-ranking filter. For example, if you want to turn on re-ranking only for products that are in-stock, select instock = true as re-ranking filter.

    Screenshot of the Launch re-ranking A/B test dialog in the Algolia dashboard

Did you find this page helpful?