-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
[DRAFT] Initial changes for full-text search in ES|QL #109518
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: ChrisHegarty <[email protected]> Co-authored-by: Costin Leau <[email protected]> Co-authored-by: Ioana Tagirta <[email protected]> Co-authored-by: Tommaso Teofili <[email protected]>
SEARCH images [ | ||
| WHERE date > now() - 1 month | ||
| RANK MATCH(scene, "mountain lake") | ||
| WHERE _score > 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bogus! find a more general way to do score cut-off
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
take topN, convert to percent, then take ... go figure it out
This commit adds parenthesized Expression to MATCH in the esql/search branch.
381c6c1
to
a6365a5
Compare
a6365a5
to
6d0ff7e
Compare
assertStatement( | ||
""" | ||
SEARCH index [ | ||
| RANK MATCH(pet, "dog") AND (MATCH(color, "brown") OR MATCH(color, "red")) ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MUST / SHOULD / SHOULD NOT match. Check query DSL.
* Modify grammar to support WHERE MATCH * Push filters using match to source * Fix test --------- Co-authored-by: Elastic Machine <[email protected]>
* Remove DefineQuery * Remove Score
DRAFT DRAFT DRAFT - not for review
Initial changes for full-text search in ES|QL.
For example:
Non-exhaustive list of outstanding tasks: