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

Support k parameter for knn query #108473

Open
mayya-sharipova opened this issue May 9, 2024 · 1 comment
Open

Support k parameter for knn query #108473

mayya-sharipova opened this issue May 9, 2024 · 1 comment
Assignees
Labels
>enhancement :Search/Vectors Vector search Team:Search Meta label for search team

Comments

@mayya-sharipova
Copy link
Contributor

Description

Currently knn query doesn't support k parameter, and size parameter of a search request is used as k.

But for hybrid search, it could be useful to have a separate k parameter to ensure only k results from knn search are considered. This k parameter will be shard based.

@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label May 9, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@mayya-sharipova mayya-sharipova self-assigned this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Vectors Vector search Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

2 participants