Guide
Vector indexes rank node or edge embeddings by distance. Every definition requires a
non-zero dimension and a distance metric.
Supported metrics
- Cosine
- Euclidean
- Manhattan
Create a vector index
Search
Start with the SDK’s vector-search operation for labelDoc, property embedding,
a query vector, and a result limit of 10. $distance is available on the hit
stream; project it before traversing away from the hit if it must remain in the
response.
Operational notes
- Creation returns before the backfill necessarily finishes.
- Malformed source vectors can block the operation.
- A new generation remains hidden until validation and activation succeed.
- Dropping an index is also a durable lifecycle operation.
Next steps
Project search results
Preserve ranked hit metadata before continuing a traversal.
Vector prefiltering
Rank only an exact traversal-defined candidate set.
Troubleshoot index operations
Resolve blocked builds and lifecycle errors.