diff --git a/src/module-elasticsuite-core/Search/Request/Aggregation/AggregationBuilder.php b/src/module-elasticsuite-core/Search/Request/Aggregation/AggregationBuilder.php
index <HASH>..<HASH> 100644
--- a/src/module-elasticsuite-core/Search/Request/Aggregation/AggregationBuilder.php
+++ b/src/module-elasticsuite-core/Search/Request/Aggregation/AggregationBuilder.php
@@ -140,7 +140,7 @@ class AggregationBuilder
 
         $bucketParams = [
             'field'   => $bucketField,
-            'name'    => $field->getName(),
+            'name'    => isset($aggregationParams['config']['name']) ? $aggregationParams['config']['name'] : $field->getName(),
             'filter' => array_diff_key($filters, [$field->getName() => true]),
         ];
Better handling of aggregation names.