You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rharpertm Thank you for bringing this to our attention, unfortunately there is a handful of features like this that primarily come from plugins that are not currently implemented in the client. We do have some big overarching actions in progress around code generation to patch these holes (opensearch-project/opensearch-clients#19 & opensearch-project/opensearch-clients#55). In the meantime, however, we would gladly accept a PR to add this specific binding if you or anyone else wished to put one together.
Is your feature request related to a problem?
Currently, it appears that it's not possible to create an approximate knn query via the library, It'd be great to add support for this query type.
What solution would you like?
It would be nice to have a query structure that fits with the current library conventions. Perhaps something like:
What alternatives have you considered?
For our current use case, we can get around this using a function_score and a Raw query DSL JSON string.
Do you have any additional context?
knn queries have been around since v1.0 of OpenSearch, and itd be awesome to have this query type supported.
The text was updated successfully, but these errors were encountered: