mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 15:47:23 -04:00
Make counted terms agg visible to profiling (#105049)
The counted-terms aggregation is defined in its own plugin. When other plugins (such as the profiling plugin) want to use this aggregation, this leads to class loader issues, such as that the aggregation class is not recognized. By moving just the aggregation code itself to the server module but keeping everything else (including registration) in the `mapper-counted-keyword` module, we can use the counted-terms aggregation also from other plugins.
This commit is contained in:
parent
3f7db333c0
commit
6e15229f6e
10 changed files with 66 additions and 16 deletions
|
@ -325,6 +325,7 @@ module org.elasticsearch.server {
|
|||
exports org.elasticsearch.search.aggregations;
|
||||
exports org.elasticsearch.search.aggregations.bucket;
|
||||
exports org.elasticsearch.search.aggregations.bucket.composite;
|
||||
exports org.elasticsearch.search.aggregations.bucket.countedterms;
|
||||
exports org.elasticsearch.search.aggregations.bucket.filter;
|
||||
exports org.elasticsearch.search.aggregations.bucket.geogrid;
|
||||
exports org.elasticsearch.search.aggregations.bucket.global;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue