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

Include score by field for each item in result #1540

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

kwahlin
Copy link
Contributor

@kwahlin kwahlin commented Dec 17, 2024

Cherry-pick the most interesting stuff (field + score) from Elastic's explain API response and include in each result item when using _debug=esScore. Example:
image

@kwahlin kwahlin force-pushed the feature/score-by-item-and-field branch from 9c19a10 to 534858a Compare December 17, 2024 16:02
Copy link
Contributor

@olovy olovy left a comment

Choose a reason for hiding this comment

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

Nice! 🚢

Maybe it is more convenient to also have _explain inside items._debug?

@kwahlin
Copy link
Contributor Author

kwahlin commented Dec 18, 2024

Nice! 🚢

Maybe it is more convenient to also have _explain inside items._debug?

Indeed! ac32795

@kwahlin kwahlin merged commit 30390c2 into develop Dec 18, 2024
1 check passed
@kwahlin kwahlin deleted the feature/score-by-item-and-field branch December 18, 2024 12:13
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.

2 participants