Skip to content

Additional track changes for ES|QL full text functions#772

Merged
carlosdelest merged 22 commits intoelastic:masterfrom
carlosdelest:feature/esql-full-text-functions
Jun 2, 2025
Merged

Additional track changes for ES|QL full text functions#772
carlosdelest merged 22 commits intoelastic:masterfrom
carlosdelest:feature/esql-full-text-functions

Conversation

@carlosdelest
Copy link
Member

@carlosdelest carlosdelest commented Apr 2, 2025

Some additional changes:

elastic/logs track:

  • Added queries to check ES|QL full text functions with other ES|QL constructs (LIKE)
  • Add Query DSL equivalents to ES|QL queries
  • Fix size mismatches on Query DSL and ES|QL queries

wikipedia track:

  • Fix size mismatches on Query DSL and ES|QL queries
  • Retrieves just title in _source for Query DSL
  • Better labelling
  • Removes query cache by default

@carlosdelest carlosdelest requested review from ioanatia and jimczi April 2, 2025 18:04
@carlosdelest
Copy link
Member Author

@jimczi @ioanatia I think this PR is still relevant as it would help us for measuring ESQL search performance in the future, or in nightlies.

Can you please review it?

Thanks!


return {
"body": {
"_source": {"includes": ["title"]},
Copy link
Contributor

Choose a reason for hiding this comment

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

We're not really testing source filtering here so should be removed?

Copy link
Contributor

Choose a reason for hiding this comment

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

I also wonder if we should remove the KEEP title, _score in the ES|QL query. If we want to test source filtering, it should be done in an explicit operation.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was trying to focus on the search performance and not on the source fetching differences between _search and ESQL - but I guess you're right. I will remove the source filtering.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done in 058ccbf

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

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

LGTM

@carlosdelest carlosdelest merged commit ea7b386 into elastic:master Jun 2, 2025
13 checks passed
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.

3 participants

Comments