Skip to content

Conversation

@markharwood
Copy link
Contributor

Allow searches to fail if they are missing results eg from a timeout or a failure to execute on at least one shard. The allow_partial_search_results flag is a new parameter on search headers and a cluster-level setting controls default behaviour of searches where no preference is passed in the request. In future versions we will change the cluster default setting to throw errors instead of returning partial results.

This initial PR is currently missing support for checking red indices (missing shards) and docs - submitting here for initial Jenkins testing.

Closes #27435

@markharwood markharwood added the :Search/Search Search-related issues that do not fall into other categories label Dec 6, 2017
@markharwood
Copy link
Contributor Author

jenkins test this

@markharwood markharwood force-pushed the fix/27435 branch 3 times, most recently from 85b7741 to d1f3fa1 Compare December 19, 2017 10:06
…ial_search_results

Breaking change which means searches that used to produce partial results will now fail with an error.

Closes elastic#27435
@markharwood
Copy link
Contributor Author

jenkins test this

@markharwood
Copy link
Contributor Author

Closing. Duplicate of #28440 which was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search/Search Search-related issues that do not fall into other categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant