1
0
Эх сурвалжийг харах

Remove unnecessary flush & refresh for 41_knn_search_byte_quantized (#109642)

Benjamin Trent 1 жил өмнө
parent
commit
ce78cdee5e

+ 0 - 11
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/41_knn_search_byte_quantized.yml

@@ -36,10 +36,6 @@ setup:
           vector: [230.0, 300.33, -34.8988, 15.555, -200.0]
           another_vector: [130.0, 115.0, -1.02, 15.555, -100.0]
 
-  # Flush in order to provoke a merge later
-  - do:
-      indices.flush: { }
-
   - do:
       index:
         index: hnsw_byte_quantized
@@ -49,10 +45,6 @@ setup:
           vector: [-0.5, 100.0, -13, 14.8, -156.0]
           another_vector: [-0.5, 50.0, -1, 1, 120]
 
-  # Flush in order to provoke a merge later
-  - do:
-      indices.flush: { }
-
   - do:
       index:
         index: hnsw_byte_quantized
@@ -67,9 +59,6 @@ setup:
         index: hnsw_byte_quantized
         max_num_segments: 1
 
-  - do:
-      indices.refresh: {}
-
 ---
 "kNN search only":
   - do: