A team is tuning vector retrieval in Azure Cosmos DB for NoSQL. Two containers are available, and both use a diskANN vector index on /embedding (1,536 dimensions). Every item has an embedding, and each evaluation query searches the entire container.
| Container | Items |
|---|---|
| development | 400 product items |
| staging | 200,000 product items copied from production |
The team has an evaluation set of 20 queries taken from real search logs. The evaluation must meet these requirements:
- Request charges recorded for the indexed queries must reflect the diskANN index rather than a full scan.
- The team must express, as a number, the recall the approximate index gives up compared with exact nearest neighbors.
- The automated evaluation must not fail only because the order of results varies between runs.
- Brute-force vector comparisons must not run in queries that shoppers wait on.
Which evaluation approach meets all the requirements?
Choose one answer.
- On staging, record indexed top 10 results from a first run, then count how many of them reappear in later indexed runs.
- On staging, record brute-force top 10 results offline, then require the indexed top 10 to match them in the same order.
- On staging, record brute-force top 10 results offline, then count how many of them appear in the indexed top 10.
- On development, record brute-force top 10 results offline, then count how many of them appear in the indexed top 10.
- On staging, count the overlap between brute-force and indexed top 10 results offline, and record only the brute-force request charges.