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

Aggregations Refactor: Refactor Filter Aggregation #14974

Merged
merged 1 commit into from
Nov 24, 2015
Merged

Aggregations Refactor: Refactor Filter Aggregation #14974

merged 1 commit into from
Nov 24, 2015

Conversation

colings86
Copy link
Contributor

No description provided.

@jpountz
Copy link
Contributor

jpountz commented Nov 24, 2015

LGTM

ParsedQuery filter = context.indexShard().getQueryShardContext().parseInnerFilter(parser);
QueryParseContext queryParseContext = new QueryParseContext(queriesRegistry);
queryParseContext.parseFieldMatcher(context.parseFieldMatcher());
queryParseContext.reset(parser);
Copy link
Member

Choose a reason for hiding this comment

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

don't you want to reset first and then set the parseFieldMatcher? :)

@colings86 colings86 merged commit 644aa7d into elastic:feature/aggs-refactoring Nov 24, 2015
@colings86 colings86 deleted the refactor/filterAgg branch November 24, 2015 18:21
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Search Refactoring labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations :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.

4 participants