# BucketSelectorPipelineAggregationBuilder missing from elasticsearch 8.9.2

**URL:** <https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067>\
**Category:** Elasticsearch\
**Created:** [September 28, 2023, 1:16pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067 "2023-09-28T13:16:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishavgu](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rishavgu](https://discuss.elastic.co/u/rishavgu)\
**Post date:** [September 28, 2023, 1:16pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067/1 "2023-09-28T13:16:45Z")

</div>

We are upgrading our Elasticsearch from 8.5.3 to 8.9.2 and our migration is failing with following error: **Cannot resolve symbol 'BucketSelectorPipelineAggregationBuilder'**

Seems like in 8.9.2 this class file has been removed from **org.elasticsearch.search.aggregations.pipeline** path and I am not able to find this file in the latest jar.

I am pulling the jar from the maven: [Central Repository: org/elasticsearch/elasticsearch/8.9.2](https://repo1.maven.org/maven2/org/elasticsearch/elasticsearch/8.9.2/)

So wanted to check whether is this feature deprecated as I am not able to find any release note regarding this ? or can someone point me to the correct path for this file.

Regards,  
Rishav

---

<div class="post-metadata">

**Author:** ![Ignacio\_Vera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ignacio_vera/32/36674_2.png) [@Ignacio\_Vera](https://discuss.elastic.co/u/Ignacio_Vera)\
**Post date:** [September 28, 2023, 3:04pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067/2 "2023-09-28T15:04:44Z")

</div>

This feature has not been deprecated but it has been [moved to the Aggregations module](https://github.com/elastic/elasticsearch/pull/91355).

I am not sure how you are upgrading Elasticsearch but I don't think we support upgrading by pulling jars from maven.

---

<div class="post-metadata">

**Author:** ![Ignacio\_Vera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ignacio_vera/32/36674_2.png) [@Ignacio\_Vera](https://discuss.elastic.co/u/Ignacio_Vera)\
**Post date:** [September 28, 2023, 3:07pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067/3 "2023-09-28T15:07:08Z")

</div>

Here are the instruction how to upgrade Elasticsearch: [Upgrade Elasticsearch | Elastic Installation and Upgrade Guide [8.9] | Elastic](https://www.elastic.co/guide/en/elastic-stack/8.9/upgrading-elasticsearch.html)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 28, 2023, 4:30pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067/4 "2023-09-28T16:30:16Z")

</div>

I think we are also releasing our artifacts to maven central.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 26, 2023, 4:30pm UTC](https://discuss.elastic.co/t/bucketselectorpipelineaggregationbuilder-missing-from-elasticsearch-8-9-2/344067/5 "2023-10-26T16:30:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
