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

Revert 74559 (Avoid global ordinals in composite) #78848

Merged
merged 2 commits into from
Oct 7, 2021

Conversation

not-napoleon
Copy link
Member

Resolve #78836
Revert #74559

This reverts the change to use segment ordinals in composite terms aggregations due to a performance degradation when the field is high cardinality.

This reverts commit 5cfcb2f.

 Conflicts:
	server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/CompositeValuesCollectorQueue.java
	server/src/main/java/org/elasticsearch/search/aggregations/bucket/composite/OrdinalValuesSource.java
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 7, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

Copy link
Member

@nik9000 nik9000 left a comment

Choose a reason for hiding this comment

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

This looks right. Also, it's just git revert <commit>, right?

@not-napoleon
Copy link
Member Author

It's two reverts, and I had to fix the generics warnings on GlobalOrdinalsValuesSource

@nik9000
Copy link
Member

nik9000 commented Oct 7, 2021

It's two reverts, and I had to fix the generics warnings on GlobalOrdinalsValuesSource

👍 still good.

@not-napoleon not-napoleon merged commit 83c34f4 into elastic:7.15 Oct 7, 2021
@not-napoleon not-napoleon deleted the revert-74559-in-7.15 branch October 7, 2021 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.15.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants