Optional parallelism?: numberThe number of threads to use for indexing. Default is 2.
Vector index parameters, following Faiss configuration.
Optional defaultNProbe?: numberHow many neighboring centroids to probe by default. Higher = slower, better recall.
Vector dimension. Must match the length of vectors in documents.
Optional factory?: stringAdvanced Faiss index factory string.
If not specified, defaults to IVF
Whether to use cosine, l2 (Euclidean), or innerProduct distance. innerProduct was introduced in ArangoDB 3.12.6.
Number of Voronoi cells (centroids) for IVF. Affects accuracy and index build time.
Optional trainingTraining iterations for index build. Default is 25.
Optional storedAn array of attribute paths that will be stored in the index for efficient filtering. Unlike with other index types, this is not for covering projections with the index but for adding attributes that you filter on. This lets you make the lookup in the vector index more efficient because it avoids materializing documents twice, once for the filtering and once for the matches.
The maximum number of attributes that you can use in storedValues is 32.
Introduced in: ArangoDB 3.12.7
Options for creating a vector index.