Skip to content
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 matchphrase as long as match_phrase (rev. B) #51

Merged
Prev Previous commit
Next Next commit
Add MATCHPHRASE to SQL parser.
Signed-off-by: Yury Fridlyand <[email protected]>
Yury-Fridlyand authored and MaxKsyunz committed May 10, 2022
commit 87a4d0c8a175c73ed24b82e98dba69857fe8b0e8
2 changes: 1 addition & 1 deletion sql/src/main/antlr/OpenSearchSQLParser.g4
Original file line number Diff line number Diff line change
@@ -383,7 +383,7 @@ flowControlFunctionName
;

relevanceFunctionName
: MATCH | MATCH_PHRASE
: MATCH | MATCH_PHRASE | MATCHPHRASE
;

legacyRelevanceFunctionName