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

Adds Documentation for dynamic query parameters for kNN search request #7761

Merged
merged 12 commits into from
Jul 22, 2024

Conversation

shatejas
Copy link
Contributor

@shatejas shatejas commented Jul 17, 2024

Description

Knn is introducing dynamic query parameters ef_search and nprobes to give an ability to improve the recall if the user desires. This adds documentation for the same

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].
Closes #7756

Version

List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.
2.16

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

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

Copy link

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review.

@shatejas shatejas force-pushed the main branch 2 times, most recently from b1b17b6 to 70998f0 Compare July 17, 2024 20:58
@hdhalter hdhalter added release-notes PR: Include this PR in the automated release notes v2.16.0 labels Jul 17, 2024
@hdhalter hdhalter assigned kolchfa-aws and unassigned hdhalter Jul 17, 2024
Copy link
Collaborator

@kolchfa-aws kolchfa-aws left a comment

Choose a reason for hiding this comment

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

Thank you, @shatejas! Some suggestions and a couple of questions.

_search-plugins/knn/approximate-knn.md Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
@kolchfa-aws kolchfa-aws added the 4 - Doc review PR: Doc review in progress label Jul 19, 2024
Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
@kolchfa-aws
Copy link
Collaborator

@shatejas A couple of more suggestions and then we can move the PR to editorial review. Thanks!

shatejas and others added 4 commits July 22, 2024 10:07
Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
@shatejas
Copy link
Contributor Author

@shatejas A couple of more suggestions and then we can move the PR to editorial review. Thanks!

@kolchfa-aws Applied the suggestions. Thanks!

Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

@shatejas @kolchfa-aws Please see my changes and let me know if you have any questions. Thanks!

_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
_search-plugins/knn/approximate-knn.md Outdated Show resolved Hide resolved
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Copy link
Collaborator

@kolchfa-aws kolchfa-aws left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you, @shatejas! Ready to merge.

@kolchfa-aws kolchfa-aws merged commit f3fe8f9 into opensearch-project:main Jul 22, 2024
6 checks passed
@hdhalter hdhalter added 3 - Done Issue is done/complete and removed 4 - Doc review PR: Doc review in progress labels Jul 22, 2024
leanneeliatra pushed a commit to leanneeliatra/opensearch-documentation-website-forl that referenced this pull request Jul 24, 2024
opensearch-project#7761)

* Adds documentation for dynamic query parameters

Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Signed-off-by: kolchfa-aws <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Signed-off-by: kolchfa-aws <[email protected]>

* Apply suggestions from code review

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Apply suggestions from code review

Signed-off-by: kolchfa-aws <[email protected]>

---------

Signed-off-by: Tejas Shah <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: [email protected] <[email protected]>
sandervandegeijn pushed a commit to sandervandegeijn/documentation-website that referenced this pull request Jul 30, 2024
opensearch-project#7761)

* Adds documentation for dynamic query parameters

Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Signed-off-by: kolchfa-aws <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Signed-off-by: kolchfa-aws <[email protected]>

* Apply suggestions from code review

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Update _search-plugins/knn/approximate-knn.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>

* Apply suggestions from code review

Signed-off-by: kolchfa-aws <[email protected]>

---------

Signed-off-by: Tejas Shah <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Sander van de Geijn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Done Issue is done/complete release-notes PR: Include this PR in the automated release notes v2.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DOC] Add dynamic query parameters efsearch and nprobs in documentation
4 participants