-
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
Support match_phrase function in SQL/PPL query engine #185
Comments
MaxKsyunz
referenced
this issue
in Bit-Quill/opensearch-project-sql
Apr 28, 2022
Yury-Fridlyand
referenced
this issue
in Bit-Quill/opensearch-project-sql
May 4, 2022
…ch-project-sql into dev-match_phrase-#185 Signed-off-by: Yury Fridlyand <yuryf@bitquilltech.com>
@penghuo, should the PPL parser support alternative spelling of For example, are queries like |
@MaxKsyunz |
6 tasks
6 tasks
Merged
6 tasks
@joshuali925, here's a demo of the changes in PR #604 match_phrase.demo-web.mp4 |
MaxKsyunz
referenced
this issue
in Bit-Quill/opensearch-project-sql
May 16, 2022
…h_phrase-#185-legacy-update # Conflicts: # core/src/main/java/org/opensearch/sql/expression/function/BuiltinFunctionName.java # core/src/main/java/org/opensearch/sql/expression/function/OpenSearchFunctions.java # docs/user/dql/functions.rst # docs/user/ppl/functions/relevance.rst # opensearch/src/main/java/org/opensearch/sql/opensearch/storage/script/filter/FilterQueryBuilder.java # sql/src/main/antlr/OpenSearchSQLParser.g4
MaxKsyunz
referenced
this issue
in Bit-Quill/opensearch-project-sql
May 21, 2022
fixed by: #604 |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related design is presented in issue #182
Todo list
match_phrase
functionality by pushing it down to the search enginematch_phrase
function in SQL and PPL syntax and parser, including all the available parametersmatch_phrase
andmatchphrase
functions in old engine)match_phrase
Function details
The
match_phrase
function maps to the match phrase query used in search engine. This query analyzes the text and creates a phrase query out of the analyzed text.Syntax:
match_phrase(field_expression, query_expression[, option=<option_value>]*)
Available options:
Sample queries:
The text was updated successfully, but these errors were encountered: