# \[elasticsearch\] Multi filter are not supported inside an filter aggregation

**URL:** <https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353>\
**Category:** Shopware 6 (German)\
**Created:** [15. September 2021 um 15:49 UTC](https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353 "2021-09-15T15:49:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [15. September 2021 um 15:49 UTC](https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353/1 "2021-09-15T15:49:07Z")

</div>

Hallo Zusammen,

ich habe eigene Filter (ProductListingCollectFilterEvent) die ihre arbeit machen.  
Allerdings erhalte ich bei aktivierten elasticsearch diese Fehlermeldung

```auto
Multi filter are not supported inside an filter aggregation

```

Der betroffen Teil sieht so aus:

```auto
new FilterAggregation(
    'my_name',
    new EntityAggregation(
        'my_name',
        'product.entity_name.id',
        'entity_name'
    ),
    [
        new MultiFilter(MultiFilter::CONNECTION_AND, [
            new NotFilter(NotFilter::CONNECTION_AND, [
                new EqualsFilter('product.entity_name.id', null),
            ]),
            new EqualsFilter('product.entity_name.active', true)
        ])
    ]
);

```

Warum verhält sich das so, und wie bekomme ich die Filter mit ES ans laufen?

---

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [17. September 2021 um 07:15 UTC](https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353/2 "2021-09-17T07:15:25Z")

</div>

push

kann mir bitte jemand vom shopware team weiterhelfen, danke

---

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [27. September 2021 um 14:18 UTC](https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353/3 "2021-09-27T14:18:18Z")

</div>

push

Das Problem besteht seit 6.4.4.x.  
Instanzen davor laufen einwandfrei.

---

<div class="post-metadata">

**Author:** ![pino](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/pino/32/14373_2.png) [@pino](https://forum.shopware.com/u/pino)\
**Post date:** [11. Oktober 2021 um 16:03 UTC](https://forum.shopware.com/t/elasticsearch-multi-filter-are-not-supported-inside-an-filter-aggregation/90353/4 "2021-10-11T16:03:51Z")

</div>

OK, keine hilfe.  
das ist schlecht ☹

selbst unter Slack nicht:

> **[Slack is where the future works](https://shopwarecommunity.slack.com/?redir=%2Farchives%2FC011VFQT7GB%2Fp1633420936123400)**
>
> Slack is a new way to communicate with your team. It’s faster, better organised and more secure than email.

ich bin nun gezwungen ein Issueticket zu erstellen, und das wird sicher auch untergehen  
Issuetracker:

> **[Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-17872)**

ist hier auf allen Kanälen keiner, der irgendwas dazu sagen kann?
