Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Jun 15, 2020

This merges the aggregator for significant_text into
significant_terms, applying the optimization built in #55873 to save
memory when the aggregation is not on top. The significant_text
aggregation is pretty memory intensive all on its own and this doesn't
particularly help with that, but it'll help with the memory usage of any
sub-aggregations.

This merges the aggregator for `significant_text` into
`significant_terms`, applying the optimization built in elastic#55873 to save
memory when the aggregation is not on top. The `significant_text`
aggregation is pretty memory intensive all on its own and this doesn't
particularly help with that, but it'll help with the memory usage of any
sub-aggregations.
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jun 15, 2020
@nik9000 nik9000 requested a review from not-napoleon June 16, 2020 16:51
@nik9000
Copy link
Member Author

nik9000 commented Jun 16, 2020

I ran some performance tests to make sure that this doesn't hurt the performance of the map terms agg and it doesn't. 🥳

@nik9000 nik9000 merged commit 91813ea into elastic:master Jun 18, 2020
@nik9000
Copy link
Member Author

nik9000 commented Jun 18, 2020

Thanks @talevy !

nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Jun 18, 2020
This merges the aggregator for `significant_text` into
`significant_terms`, applying the optimization built in elastic#55873 to save
memory when the aggregation is not on top. The `significant_text`
aggregation is pretty memory intensive all on its own and this doesn't
particularly help with that, but it'll help with the memory usage of any
sub-aggregations.
nik9000 added a commit that referenced this pull request Jun 23, 2020
This merges the aggregator for `significant_text` into
`significant_terms`, applying the optimization built in #55873 to save
memory when the aggregation is not on top. The `significant_text`
aggregation is pretty memory intensive all on its own and this doesn't
particularly help with that, but it'll help with the memory usage of any
sub-aggregations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.9.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants