-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java api: unify SearchResponse and BroadcastOperationResponse code ar…
…ound shards header Different responses hold the shards header, search, count, flush etc. The code was duplicated in two different places, centralized in RestActions. It turns out that only the search response printed out the status field before the reason, which was added to all other broadcast responses too.
- Loading branch information
Showing
2 changed files
with
13 additions
and
41 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