Skip to content

Conversation

tteofili
Copy link
Contributor

@tteofili tteofili commented Aug 20, 2025

This exposes the SCORE function in ES|QL out of snapshot (tech preview).
SCORE function can only be used on the right hand side of an EVAL to explicitly put scores of a (combination of) full text functions into a specific column (different than _score).

@tteofili tteofili added test-release Trigger CI checks against release build :Search Relevance/ES|QL Search functionality in ES|QL labels Aug 20, 2025
Copy link
Contributor

github-actions bot commented Aug 20, 2025

🔍 Preview links for changed docs

@tteofili tteofili marked this pull request as ready for review August 20, 2025 12:27
@tteofili tteofili requested a review from ioanatia August 20, 2025 12:27
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Aug 20, 2025
Copy link
Contributor

@ioanatia ioanatia left a comment

Choose a reason for hiding this comment

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

Do we need to re-run the ScoreTests to regenerate the docs files?
Thinking primarily if we need to update the function specification for Kibana.

* [`MATCH`](../../functions-operators/search-functions.md#esql-match)
* [`MATCH_PHRASE`](../../functions-operators/search-functions.md#esql-match_phrase)
* [`QSTR`](../../functions-operators/search-functions.md#esql-qstr)
* [`SCORE`](../../functions-operators/search-functions.md#esql-score)
Copy link
Contributor

Choose a reason for hiding this comment

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

let's add the preview label here since it's tech preview.
it would be inline with what we have in the FunctionInfo already:

Copy link
Contributor Author

@tteofili tteofili Aug 21, 2025

Choose a reason for hiding this comment

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

Do we need to re-run the ScoreTests to regenerate the docs files?

I re-run them but there're no change made to the docs for that

Copy link
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

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

LGTM.

I already see "snapshot_only" : false in the Kibana spec, so I think we're done.

@tteofili
Copy link
Contributor Author

tteofili commented Sep 3, 2025

we should wait for the shard available bug to be fixed before merging this one.

@ioanatia
Copy link
Contributor

ioanatia commented Sep 3, 2025

we need to fix #133462 before moving this out of snapshot
EDIT: Tommaso beat me to it 😄

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

Labels

>non-issue :Search Relevance/ES|QL Search functionality in ES|QL Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch test-release Trigger CI checks against release build v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants