We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 511baf1 commit 62bd393Copy full SHA for 62bd393
src/VecSim/vec_sim_common.h
@@ -239,6 +239,22 @@ struct VecSimParams {
239
void *logCtx; // External context that stores the index log.
240
};
241
242
+// Parameters for creating a disk-based vector index. Currently only HNSW Disk is supported.
243
+typedef struct VecSimHNSWDiskParams {
244
+ size_t dim;
245
+ VecSimType type;
246
+ VecSimMetric metric;
247
+ size_t M;
248
+ size_t efConstruction;
249
+ size_t efRuntime;
250
+ size_t blockSize;
251
+ bool multi;
252
+ void *storage; // Opaque pointer to disk storage
253
+ const char *indexName;
254
+ size_t indexNameLen;
255
+ void *logCtx;
256
+} VecSimHNSWDiskParams;
257
+
258
/**
259
* The specific job types in use (to be extended in the future by demand)
260
*/
0 commit comments