-
Notifications
You must be signed in to change notification settings - Fork 183
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
[FEATURE] Support for Filters in K-NN Query #584
Comments
Hi @navneet1v, |
I think this PR into the docs isn't showing up in the 2.8 docs because it's unreleased: |
@navneet1v I believe the samples I'm adding in https://github.com/opensearch-project/opensearch-java/pull/586/files show that all the filtering methods are supported by the client? Please clarify if there's something else I'm missing |
Thanks @Xtansia. The example looks good. |
Closing this issue as the filters are supported by the client and now have documentation. |
Is your feature request related to a problem?
OpenSearch k-NN field support filters and the current k-NN query class(#539) in the client doesn't support the filters.
Documentation for filters: https://opensearch.org/docs/latest/search-plugins/knn/filter-search-knn/
What solution would you like?
Add the support to build the k-NN query clause with filters in the client.
What alternatives have you considered?
Alternative is to build a query json and use that to do the k-NN query with filters.
Do you have any additional context?
Please enable the support of k-NN query with filters in all the other clients.
The text was updated successfully, but these errors were encountered: