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

Replace InternalSearchResponse#EMPTY with InternalSearchResponse#empty() #5775

Merged
merged 1 commit into from Apr 11, 2014

Conversation

martijnvg
Copy link
Member

Each search request should use a new InternalSearchResponse instance even in case when all shards return no hits. The InternalSearchResponse may get modified afterwards, so a new instance required at all times.

@kimchy
Copy link
Member

kimchy commented Apr 11, 2014

LGTM

…even in case when all shards return no hits.

The InternalSearchResponse may get modified afterwards, so a new instance required at all times.
@martijnvg martijnvg merged commit 45a1b44 into elastic:master Apr 11, 2014
@martijnvg martijnvg deleted the bug/empty-results-no-singleton branch May 18, 2015 23:32
@clintongormley clintongormley added the :Search/Search Search-related issues that do not fall into other categories label Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.0.3 v1.1.1 v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants