Skip to content

Commit

Permalink
Add searches on multiple segments for dense vector
Browse files Browse the repository at this point in the history
With introduction of concurrent search across multiple segments
elastic/elasticsearch#98204
there is a need to measure search across multiple segments before
force merge.

This PR adds this operation.
  • Loading branch information
mayya-sharipova committed Sep 1, 2023
1 parent 437756e commit 566054c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions dense_vector/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,25 @@
"include-in-reporting": true
}
},
{
"name": "wait-until-merges-finish_after_update",
"operation": {
"operation-type": "index-stats",
"index": "_all",
"condition": {
"path": "_all.total.merges.current",
"expected-value": 0
},
"retry-until-success": true,
"include-in-reporting": false
}
},
{
"name": "knn-search-100-1000_multiple_segments",
"operation": "knn-search-100-1000",
"warmup-iterations": 100,
"iterations": 1000
},
{
"operation": {
"operation-type": "force-merge",
Expand Down

0 comments on commit 566054c

Please sign in to comment.