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

This commit is contained in:
Benjamin Trent 2024-06-12 14:18:40 -04:00 committed by GitHub
parent c847235ed0
commit ce78cdee5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: