Skip to content

Update the mmr doc for the new flag explain#12201

Merged
kolchfa-aws merged 4 commits intoopensearch-project:mainfrom
bzhangam:main
Apr 10, 2026
Merged

Update the mmr doc for the new flag explain#12201
kolchfa-aws merged 4 commits intoopensearch-project:mainfrom
bzhangam:main

Conversation

@bzhangam
Copy link
Copy Markdown
Contributor

@bzhangam bzhangam commented Apr 6, 2026

Description

Update the mmr doc for the new flag explain - feature commit

Issues Resolved

No existing issue. It's a small update

Version

3.7 and above

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.

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc 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).

@kolchfa-aws kolchfa-aws added Doc review PR: Doc review in progress v3.7.0 release-notes PR: Include this PR in the automated release notes labels Apr 6, 2026
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Copy link
Copy Markdown
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, @bzhangam! Doc review complete. Please answer one question so we can provide all supported values for the parameter, and we'll be ready to merge.

| `vector_field_path` | String | Optional (required for remote indexes) | The path to the vector field used for MMR reranking. If not provided, OpenSearch resolves it automatically from the search request. |
| `vector_field_data_type` | String | Optional (required for remote indexes) | The data type of the vector field. Used to parse the field and calculate similarity. If not provided, OpenSearch resolves it from the index mapping. |
| `vector_field_space_type` | String | Optional (required for remote indexes) | Used to determine the similarity function for the vector field, such as cosine similarity or Euclidean distance. If not provided, OpenSearch resolves it from the index mapping. |
| `vector_field_space_type` | String | Optional (required for remote indexes) | Used to determine the similarity function for the vector field, such as cosine similarity or Euclidean distance. If not provided, OpenSearch resolves it from the index mapping. |
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. This is an existing parameter. For my change I just added the explain flag.

Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Copy link
Copy Markdown
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

Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
@kolchfa-aws kolchfa-aws merged commit df11b96 into opensearch-project:main Apr 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Doc review PR: Doc review in progress release-notes PR: Include this PR in the automated release notes v3.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants