Skip to content

ESQL: Add capability to prevent failing tests after Starts/EndsWith Lucene pushdown #124764

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ beta | Kubernetes cluster
;

startsWithLucenePushdownIgnoreMultivalues
required_capability: starts_with_ends_with_lucene_pushdown

from hosts
| where starts_with(description, "epsilon")
Expand Down Expand Up @@ -1266,6 +1267,7 @@ beta | Kubernetes cluster
;

endsWithLucenePushdownIgnoreMultivalues
required_capability: starts_with_ends_with_lucene_pushdown

from hosts
| where ends_with(description, "host")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,12 @@ public enum Cap {
*/
RRF(Build.current().isSnapshot()),

/**
* Lucene query pushdown to StartsWith and EndsWith functions.
* This capability was created to avoid receiving wrong warnings from old nodes in mixed clusters
*/
STARTS_WITH_ENDS_WITH_LUCENE_PUSHDOWN,

/**
* Full text functions can be scored when being part of a disjunction
*/
Expand Down