-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f5ad21
commit 14ecacb
Showing
4 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
quickwit/rest-api-tests/scenarii/qw_search_api/0004_empty_string.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This tests a simple request with no queries. | ||
endpoint: empty-string/search | ||
params: | ||
query: "str:''" | ||
expected: | ||
num_hits: 2 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "str_array:''" | ||
expected: | ||
num_hits: 2 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "dyn_str:''" | ||
expected: | ||
num_hits: 2 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "dyn_str_array:''" | ||
expected: | ||
num_hits: 2 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "str:'' AND str_array:ghi" | ||
expected: | ||
num_hits: 1 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "str_array:'' AND str_array:ghi" | ||
expected: | ||
num_hits: 1 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "dyn_str:'' AND str_array:ghi" | ||
expected: | ||
num_hits: 1 | ||
--- | ||
endpoint: empty-string/search | ||
params: | ||
query: "dyn_str_array:'' AND str_array:ghi" | ||
expected: | ||
num_hits: 1 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters