Skip to content

Replace the SearchContext with QueryShardContext when building collapsing context#46543

Merged
jimczi merged 1 commit intoelastic:masterfrom
jimczi:collapse_builder_shard_context
Sep 11, 2019
Merged

Replace the SearchContext with QueryShardContext when building collapsing context#46543
jimczi merged 1 commit intoelastic:masterfrom
jimczi:collapse_builder_shard_context

Conversation

@jimczi
Copy link
Copy Markdown
Contributor

@jimczi jimczi commented Sep 10, 2019

This commit replaces the SearchContext with the QueryShardContext when building collapsing context. The Collapse context is part of the SearchContext so it shouldn't require a SearchContext to create one.

Relates #46523

…sing context

This commit replaces the `SearchContext` with the `QueryShardContext` when building collapsing conteext
Collapse context is part of the `SearchContext` so it shouldn't require a `SearchContext` to create one.

Relates elastic#46523
@jimczi jimczi added >non-issue :Search/Search Search-related issues that do not fall into other categories v8.0.0 v7.5.0 labels Sep 10, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

Copy link
Copy Markdown
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup.

@jimczi jimczi merged commit c8cba51 into elastic:master Sep 11, 2019
@jimczi jimczi deleted the collapse_builder_shard_context branch September 11, 2019 10:00
jimczi added a commit that referenced this pull request Sep 11, 2019
…sing context (#46543)

This commit replaces the `SearchContext` with the `QueryShardContext` when building collapsing conteext
Collapse context is part of the `SearchContext` so it shouldn't require a `SearchContext` to create one.

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

Labels

>non-issue :Search/Search Search-related issues that do not fall into other categories v7.5.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants