Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify SearchResponse and BroadcastOperationResponse code around shards header #11064

Merged
merged 1 commit into from May 9, 2015

Conversation

javanna
Copy link
Member

@javanna javanna commented May 8, 2015

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.

@kimchy
Copy link
Member

kimchy commented May 8, 2015

this is great!, LGTM

…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.

Closes elastic#11064
@javanna javanna force-pushed the enhancement/unify_shards_header branch from 5955b43 to ba243e7 Compare May 9, 2015 12:55
javanna added a commit to javanna/elasticsearch that referenced this pull request May 9, 2015
…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.

Closes elastic#11064
@javanna javanna merged commit ba243e7 into elastic:master May 9, 2015
@kevinkluge kevinkluge removed the review label May 9, 2015
@clintongormley clintongormley changed the title Java api: unify SearchResponse and BroadcastOperationResponse code around shards header Unify SearchResponse and BroadcastOperationResponse code around shards header May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants