Skip to content

Commit c660e78

Browse files
author
ofiryanai
committed
Add rerank field to VecSimDiskContext for disk-based HNSW
MOD-13179: Add boolean rerank field to VecSimDiskContext struct to support the RERANK parameter for disk-based HNSW indexes. This parameter controls whether reranking is enabled during search operations.
1 parent 3e94722 commit c660e78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VecSim/vec_sim_common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ typedef struct {
250250
void *storage; // Opaque pointer to disk storage
251251
const char *indexName;
252252
size_t indexNameLen;
253+
bool rerank; // Whether to enable reranking for disk-based HNSW
253254
} VecSimDiskContext;
254255

255256
typedef struct {

0 commit comments

Comments
 (0)