Skip to content

Conversation

harshitrwt
Copy link

This PR introduces HNSW vector index support for qdrant, allowing users to create collections with fully configurable vector indexes.

  • Enabled per-field vector metric configuration (Cosine, L2, InnerProduct).
  • Enhanced SetupState and SetupChange to manage collection creation, deletion, and updates with vector indexes.
  • Validates vector fields for fixed dimensions; unsupported vectors are stored in payload.
  • Export mutations now correctly convert typed values into DenseVector or MultiDenseVector.
  • Cached Qdrant clients per connection for efficient repeated operations.
  • Clear error handling for unsupported vector index methods or duplicate vector index definitions.

fixes #1052

@badmonster0
Copy link
Member

badmonster0 commented Oct 3, 2025

@harshitrwt please follow the following example -

https://cocoindex.io/docs/examples/simple_vector_index

Change it to Qdrant, And attach a screenshot for the test before we merge it.

if you have any question please let us know! (You can always find us https://discord.com/invite/zpA9S2DR7s for live chat too)

@harshitrwt harshitrwt force-pushed the feature/qdrant-vector-index-method branch from f2edd3e to 65a1002 Compare October 6, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] support VectorIndexMethod in qdrant
2 participants