-
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 MatchPhraseQuery As Alternate Syntax for Match_Phrase Function #1103
Add MatchPhraseQuery As Alternate Syntax for Match_Phrase Function #1103
Conversation
Signed-off-by: GabeFernandez310 <gabrielf@bitquilltech.com>
Signed-off-by: GabeFernandez310 <gabrielf@bitquilltech.com>
Signed-off-by: GabeFernandez310 <gabrielf@bitquilltech.com>
…hphrase-function Add MatchPhraseQuery As Alternate Syntax for Match_Phrase Function
Codecov Report
@@ Coverage Diff @@
## 2.x #1103 +/- ##
============================================
- Coverage 98.29% 95.78% -2.52%
Complexity 3465 3465
============================================
Files 347 357 +10
Lines 8647 9307 +660
Branches 550 669 +119
============================================
+ Hits 8500 8915 +415
- Misses 142 334 +192
- Partials 5 58 +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. |
Signed-off-by: GabeFernandez310 <gabrielf@bitquilltech.com>
6b23d10
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 changes!
Description
Adds
matchphrasequery
as alternate syntax formatch_phrase
function which currently exists in opensearchQueries can be performed using the following syntax :
Example:
This query should return the same result as
match_phrase(field, 'query')
Issues Resolved
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.