Choose a test type
You can run one of these test types:| Test type | Control | Variant | When to use |
|---|---|---|---|
| Keyword vs NeuralSearch | Keyword search | NeuralSearch | Compare keyword search with NeuralSearch |
| Adaptive Intent test | NeuralSearch | NeuralSearch with Adaptive Intent | Compare NeuralSearch to NeuralSearch with Adaptive Intent |
Compare keyword search with NeuralSearch
Your index must have NeuralSearch enabled before you can launch an A/B test. NeuralSearch can be in one of these states:- Inactive: NeuralSearch isn’t configured for the index.
- Preview: NeuralSearch is configured for testing but doesn’t serve all search traffic.
- Active: NeuralSearch is enabled for the index’s search traffic.
neuralSearchMode appropriately.
This A/B test evaluates whether NeuralSearch improves your existing search experience.
- The control uses the index’s default keyword search.
- The variant enables NeuralSearch.
Command line
Compare NeuralSearch to NeuralSearch with Adaptive Intent
This A/B test measures whether Adaptive Intent improves NeuralSearch results.- The control uses NeuralSearch without Adaptive Intent.
- The variant enables Adaptive Intent.
Command line
Start tests from the Algolia dashboard
To start NeuralSearch A/B tests from the Algolia dashboard:- Go to the Algolia dashboard and select your Algolia application.
- Select your index.
- Click the NeuralSearch tab.
- Click Launch an A/B test.
- Select the test type: Keyword vs NeuralSearch or Adaptive Intent test.
- Set the traffic split and test duration.
- Click Create test.
customSearchParameters for each test type, so you don’t need to configure the API parameters manually.
Test metrics
Algolia tracks these metrics automatically for every NeuralSearch A/B test:- Conversion rate
- Click-through rate
- Add-to-cart rate
- No-results rate
- Average click position
Test duration
Run tests long enough to reach statistical significance:- Tests should run for at least 14 days to account for weekly traffic patterns.
- Aim for a minimum increase of 3% on conversion rate.
- Indices with more traffic usually reach statistical significance faster.