Skip to content

Commit

Permalink
Make PPL integration test queries more appropriately match relevance …
Browse files Browse the repository at this point in the history
…function

Signed-off-by: forestmvey <[email protected]>
  • Loading branch information
forestmvey committed Jun 6, 2022
1 parent f792e95 commit b625276
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void valid_query_match_test() throws IOException {
JSONObject result =
executeQuery(
String.format(
"source=%s | where match_bool_prefix(phrase, 'quick') | fields phrase",
"source=%s | where match_bool_prefix(phrase, 'qui') | fields phrase",
TEST_INDEX_PHRASE));

verifyDataRows(result,
Expand All @@ -38,7 +38,7 @@ public void optional_parameter_match_test() throws IOException {
JSONObject result =
executeQuery(
String.format(
"source=%s | where match_bool_prefix(phrase, '2 test', minimum_should_match=1, fuzziness=2) | fields phrase",
"source=%s | where match_bool_prefix(phrase, '2 tes', minimum_should_match=1, fuzziness=2) | fields phrase",
TEST_INDEX_PHRASE));

verifyDataRows(result,
Expand Down

0 comments on commit b625276

Please sign in to comment.