Open
Description
What is the bug?
A Hybrid Search experiment should evaluate 66 Hybrid search variants. If there is a query set with 2 queries, the total number of results generated in the search-relevance-evaluation-result
index should be 123 (66 x 2). Unfortunately there are too many experiment variant ids generated, the total number of generated variant ids ends up being 123 rather than 66.
How can one reproduce the bug?
Run the hybrid experiment from the demo script and run the following query using the id of the created experiment:
GET /search-relevance-experiment-variant/_search
{
"size": 0,
"query": {
"match": {
"experimentId": "EXPERIMENT_ID"
}
},
"aggs": {
"unique_experiment_variant_ids": {
"cardinality": {
"field": "id"
}
}
}
}
Result:
{
"took": 3,
"timed_out": false,
"terminated_early": true,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 132,
"relation": "eq"
},
"max_score": null,
"hits": []
},
"aggregations": {
"unique_experiment_variant_ids": {
"value": 132
}
}
}
What is the expected behavior?
The above query such return 66 unique values rather than 123.
What is your host/environment?
n/a
Do you have any screenshots?
n/a
Do you have any additional context?
n/a
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New