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

Added unit tests for diversified sampler aggregator #23511

Merged
merged 1 commit into from
Mar 12, 2017

Conversation

martijnvg
Copy link
Member

Also added unit tests for BestBucketsDeferringCollector and BestDocsDeferringCollector.
Moved and renamed the diversified sampler builder unit test and made some public constructors package protected.

@martijnvg martijnvg added :Analytics/Aggregations Aggregations review >test Issues or PRs that are addressing/adding tests v6.0.0-alpha1 labels Mar 8, 2017
Copy link
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.

LGTM

directory.close();
}

private BucketCollector bla(Set<Integer> docIds) {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we come with a better name?

Copy link
Member Author

Choose a reason for hiding this comment

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

oops :)

@martijnvg martijnvg force-pushed the diversified_sampler_agg_tests branch from 2aeeb6b to b01070a Compare March 12, 2017 23:17
@martijnvg martijnvg merged commit b01070a into elastic:master Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >test Issues or PRs that are addressing/adding tests v6.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants