Skip to content

Conversation

@peter-strsr
Copy link
Contributor

@peter-strsr peter-strsr commented Nov 26, 2025

Lower and higher value descriptions are switched.

float mmr = (context.getLambda() * querySimilarityScore) - ((1 - context.getLambda()) * highestMMRScore);
1.0 would result in querySimilarityScore

Also added more user friendly wording - most users most likely don't understand how mmr works and what "comparisons between field values" means, so I just replaced it with "diversity"

Lower and higher value descriptions are switched. Also added more user friendly wording.
@elasticsearchmachine
Copy link
Collaborator

@peter-strsr please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation.

@peter-strsr peter-strsr requested a review from ioanatia November 26, 2025 12:19
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.3.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Nov 26, 2025
@peter-strsr peter-strsr requested a review from markjhoy November 26, 2025 12:19
@peter-strsr peter-strsr added the >docs General docs changes label Nov 26, 2025
@elasticsearchmachine elasticsearchmachine added Team:Docs Meta label for docs team and removed needs:triage Requires assignment of a team area label labels Nov 26, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/core-docs (Team:Docs)

@github-actions
Copy link
Contributor

🔍 Preview links for changed docs

@github-actions
Copy link
Contributor

ℹ️ Important: Docs version tagging

👋 Thanks for updating the docs! Just a friendly reminder that our docs are now cumulative. This means all 9.x versions are documented on the same page and published off of the main branch, instead of creating separate pages for each minor version.

We use applies_to tags to mark version-specific features and changes.

Expand for a quick overview

When to use applies_to tags:

✅ At the page level to indicate which products/deployments the content applies to (mandatory)
✅ When features change state (e.g. preview, ga) in a specific version
✅ When availability differs across deployments and environments

What NOT to do:

❌ Don't remove or replace information that applies to an older version
❌ Don't add new information that applies to a specific version without an applies_to tag
❌ Don't forget that applies_to tags can be used at the page, section, and inline level

🤔 Need help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>docs General docs changes external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Docs Meta label for docs team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants