Skip to content

Conversation

@bluepal-prasanthi-moparthi
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds vector index functionality to the ArangoDB Go driver, enabling efficient similarity searches on high-dimensional embeddings for AI use cases. The feature is available in ArangoDB 3.12.4 and later.

  • Implements EnsureVectorIndex method with comprehensive validation for vector index parameters
  • Adds support for vector-specific metrics (cosine, L2, inner product) and index options including storedValues
  • Includes extensive test coverage for vector index creation, validation, and query execution plans

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
v2/arangodb/collection_indexes.go Defines the EnsureVectorIndex API, VectorIndexType, VectorParams struct, VectorMetric type, and CreateVectorIndexOptions
v2/arangodb/collection_indexes_impl.go Implements vector index creation logic, JSON unmarshaling for vector index responses, and parameter validation
v2/tests/database_collection_indexes_test.go Adds comprehensive test cases for vector index functionality including creation, validation, storedValues, and query plan verification
v2/CHANGELOG.md Documents the addition of the vector index feature
Makefile Adds ENABLE_VECTOR_INDEX environment variable with default value "true"
test/cluster.sh Configures cluster startup to enable experimental vector index feature when ENABLE_VECTOR_INDEX is set

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bluepal-prasanthi-moparthi bluepal-prasanthi-moparthi force-pushed the feature/OAS-11787-vector-index-stored-values-and-index-hint branch from c109e10 to 63bed24 Compare December 22, 2025 08:26
@jwierzbo jwierzbo merged commit 59ba66b into master Dec 22, 2025
11 checks passed
@jwierzbo jwierzbo deleted the feature/OAS-11787-vector-index-stored-values-and-index-hint branch December 22, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants