-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add Support for Highlight Wildcard in SQL #827
Add Support for Highlight Wildcard in SQL #827
Conversation
@forestmvey please update the target branch from |
511fd88
to
d6417ef
Compare
core/src/main/java/org/opensearch/sql/planner/physical/HighlightOperator.java
Outdated
Show resolved
Hide resolved
28e98d3
to
120fdb5
Compare
120fdb5
to
45e6d0c
Compare
Codecov Report
@@ Coverage Diff @@
## 2.x #827 +/- ##
============================================
- Coverage 97.87% 95.04% -2.83%
- Complexity 3020 3039 +19
============================================
Files 284 294 +10
Lines 7425 8134 +709
Branches 475 604 +129
============================================
+ Hits 7267 7731 +464
- Misses 157 349 +192
- Partials 1 54 +53
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
45e6d0c
to
df1e18d
Compare
…support in SQL and PPL. Signed-off-by: forestmvey <forestv@bitquilltech.com>
df1e18d
to
b5a287c
Compare
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.
Thanks for the change!
…support in SQL and PPL. (opensearch-project#827) Signed-off-by: forestmvey <forestv@bitquilltech.com> Signed-off-by: forestmvey <forestv@bitquilltech.com>
Description
Add support for wildcard in SQL with optional arguments
pre_tags
andpost_tags
.Sample Query
select highlight('Body'), highlight('T*') from beer where multi_match([Title, Body, Tags], 'taste');
Issues Resolved
Issue: 636
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.