-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing failed splits in root search.
This PR adds a query string parameter (`allow_partial_search_results`) in the elasticsearch api controlling encounterring an error on a subset of the splits, should fail a search query or if a response (reflecting the partial set of successful splits) should be returned. It changes the behavior of the root search gRPC call, that will not return an error in presence of partial split errors, but instead returns the list of splits that failed. This PR also changes the default behavior of the elasticsearch rest API: following elasticsearch behavior on failing shards, quickwit will allow split errors. The Quickwit API default behavior, on the other hand, is unchanged. Closes #5411
- Loading branch information
1 parent
7d357fa
commit 47abca3
Showing
16 changed files
with
401 additions
and
72 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
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
24 changes: 20 additions & 4 deletions
24
quickwit/quickwit-proto/src/codegen/quickwit/quickwit.search.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.