Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add vector search support for fields in nested objects #796

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aprudhomme
Copy link
Contributor

Add the ability to do a knn vector search query over fields in nested objects (documents). This is supported for both float and byte vector types.

When constructing the vector query, the parent document nested path is determined. Knn filter queries, if present, apply at the parent document level.

The DiversifyingChildren*KnnVectorQuerys are used to score the parent docs based on the best child vector similarity. These queries have been extended to allow for top k and diagnostics support.

@aprudhomme aprudhomme requested a review from sarthakn7 December 18, 2024 23:41
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.

1 participant