Skip to content

Commit

Permalink
match_phrase_prefix with required parameters in PPL.
Browse files Browse the repository at this point in the history
Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
  • Loading branch information
MaxKsyunz committed Jun 16, 2022
1 parent 7b7a096 commit ea512f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ppl/src/main/antlr/OpenSearchPPLLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ IF: 'IF';
// RELEVANCE FUNCTIONS AND PARAMETERS
MATCH: 'MATCH';
MATCH_PHRASE: 'MATCH_PHRASE';
MATCH_PHRASE_PREFIX: 'MATCH_PHRASE_PREFIX';
SIMPLE_QUERY_STRING: 'SIMPLE_QUERY_STRING';

ALLOW_LEADING_WILDCARD: 'ALLOW_LEADING_WILDCARD';
Expand Down
1 change: 1 addition & 0 deletions ppl/src/main/antlr/OpenSearchPPLParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ binaryOperator
singleFieldRelevanceFunctionName
: MATCH
| MATCH_PHRASE
| MATCH_PHRASE_PREFIX
;

multiFieldRelevanceFunctionName
Expand Down

0 comments on commit ea512f8

Please sign in to comment.