From 3996714e88e31b6834903faa2e0e0bfdd80b20ef Mon Sep 17 00:00:00 2001 From: Mayya Sharipova Date: Wed, 27 Sep 2023 13:52:01 -0400 Subject: [PATCH] Add searches on multiple segments for dense vector (#454) With introduction of concurrent search across multiple segments https://github.com/elastic/elasticsearch/pull/98204 there is a need to measure search across multiple segments before force merge. --- dense_vector/challenges/default.json | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dense_vector/challenges/default.json b/dense_vector/challenges/default.json index c3705e54..88f7dbd6 100644 --- a/dense_vector/challenges/default.json +++ b/dense_vector/challenges/default.json @@ -82,6 +82,39 @@ "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-10-100_multiple_segments", + "operation": "knn-search-10-100", + "warmup-iterations": 100, + "iterations": 1000 + }, + { + "name": "knn-search-100-1000_multiple_segments", + "operation": "knn-search-100-1000", + "warmup-iterations": 100, + "iterations": 1000 + }, + { + "name": "knn-recall-10-100_multiple_segments", + "operation": "knn-recall-10-100" + }, + { + "name": "knn-recall-100-1000_multiple_segments", + "operation": "knn-recall-100-1000" + }, { "operation": { "operation-type": "force-merge",