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

Added spec for k-NN stats api #190

Merged
merged 3 commits into from
Mar 7, 2024
Merged

Conversation

saimedhi
Copy link
Contributor

Description

Issues Resolved

Related to #168,
opensearch-project/opensearch-py#300

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mixin
structure KNNStats_QueryParams {
@httpQuery("timeout")
timeout: Timeout,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see pretty querystring param in the examples as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theo, pretty is a global parameter.

Those parameters can be used with all APIs. So, we won't write them in spec. Please confirm?

Signed-off-by: saimedhi <saimedhi@amazon.com>
Signed-off-by: saimedhi <saimedhi@amazon.com>
@saimedhi
Copy link
Contributor Author

@nhtruong made the requested changes. And also PR #191 , #192 ready for review.

@saimedhi
Copy link
Contributor Author

@Xtansia, @nhtruong Please take a look and let me know if any changes needed.

Xtansia
Xtansia previously approved these changes Feb 27, 2024
Signed-off-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com>
@Xtansia Xtansia merged commit 3b867a3 into opensearch-project:main Mar 7, 2024
5 checks passed
@saimedhi saimedhi deleted the add/knn branch April 19, 2024 02:26
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.

4 participants