-
Notifications
You must be signed in to change notification settings - Fork 73
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] Add efficient k-NN filtering support to Neural query #523
Comments
@SeyedAlirezaFatemi the feature is already supported with neural query clause and works exactly you have defined in the description. The documentation is not updated to say that it is supported, cc: @jmazanec15 @vamshin |
I think the Java Client for OpenSearch also doesn't support it. |
For filtering support, we do mention it here: https://opensearch.org/docs/latest/search-plugins/semantic-search/#step-4-search-the-index-using-neural-search. That being said, its not easy to find. We should have a section on the query itself and the parameters of the query. |
@SeyedAlirezaFatemi for which java client? high level java rest client or opensearch-java(low level client)? |
@navneet1v opensearch-java. NeuralQuery |
@SeyedAlirezaFatemi thanks for providing the details. @VachaShah, @dblock: can we move this issue in opensearch-java repo. I don't have permission to transfer the issue. cc: @vamshin , @jmazanec15 |
@navneet1v is prefiltering also available for neural sparse search ? |
as per my understanding the ans is no. But @zane-neo can you please provide more details. |
Closing the issue. Please reopen the issue in java client repo. |
Is your feature request related to a problem?
Currently, there is no way to use efficient k-NN filtering with a Neural query (documentation)
What solution would you like?
Adding a filter field to the neural query which is pretty similar to the syntax of efficient k-NN filtering:
The text was updated successfully, but these errors were encountered: