We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c2f99 commit 3996df5Copy full SHA for 3996df5
tests/benchmark/bm_vecsim_basics.h
@@ -332,7 +332,7 @@ void BM_VecSimBasics<index_type_t>::FlushBatchDisk(benchmark::State &st) {
332
auto *hnsw_disk_index = dynamic_cast<HNSWDiskIndex<data_t, dist_t> *>(hnsw_index);
333
334
size_t flush_threshold = st.range(0);
335
- hnsw_disk_index->setBatchThreshold(flush_threshold);
+ hnsw_disk_index->setDiskWriteBatchThreshold(flush_threshold);
336
for (size_t i = 0; i < flush_threshold-1; i++) {
337
// add vectors to fill the batch
338
VecSimIndex_AddVector(hnsw_disk_index, QUERIES[i%N_QUERIES].data(), i);
0 commit comments