# Advanced Search und OpenSearch verursachen Error 500

**URL:** <https://forum.shopware.com/t/advanced-search-und-opensearch-verursachen-error-500/106277>\
**Category:** Shopware 6 (German)\
**Created:** [16. Januar 2025 um 07:32 UTC](https://forum.shopware.com/t/advanced-search-und-opensearch-verursachen-error-500/106277 "2025-01-16T07:32:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [16. Januar 2025 um 07:32 UTC](https://forum.shopware.com/t/advanced-search-und-opensearch-verursachen-error-500/106277/1 "2025-01-16T07:32:08Z")

</div>

Aktuell quäle ich mich mit der Suche in Shopware 6 - eine Strafarbeit.

Bei einem Test in einem Shop wo Advanced Search und OpenSearch in Version 2.18.0 aktiv ist, kommt bei Suche ein Error 500.

Mit der Fehlermeldung kann ich zur Stunde jedoch nichts anfangen. Kennt das vielleicht jemand? Hatte jemand ähnliche Probleme?

> Uncaught PHP Exception OpenSearch\Common\Exceptions\Missing404Exception:  
> „{„error“:{„root\_cause“:[{„type“:„index\_not\_found\_exception“,„reason“:„no such index [sw\_product]“,„index“:„sw\_product“,„resource.id“:„sw\_product“,„resource.type“:„index\_or\_alias“,„index\_uuid“:„_na_“}],„type“:„index\_not\_found\_exception“,„reason“:„no such index [sw\_product]“,„index“:„sw\_product“,„resource.id“:„sw\_product“,„resource.type“:„index\_or\_alias“,„index\_uuid“:„_na_“},„status“:404}“ at Connection.php line 666  
> {„exception“:„[object] (OpenSearch\Common\Exceptions\Missing404Exception(code: 404):  
> {"error":{"root\_cause":[{"type":"index\_not\_found\_exception","reason":"no such index [sw\_product]","index":"sw\_product","resource.id":"sw\_product","resource.type":"index\_or\_alias","index\_uuid":"_na_"}],"type":"index\_not\_found\_exception","reason":"no such index [sw\_product]","index":"sw\_product","resource.id":"sw\_product","resource.type":"index\_or\_alias","index\_uuid":"_na_"},"status":404}  
> at /var/…/vendor/opensearch-project/opensearch-php/src/OpenSearch/Connections/Connection.php:666)“}

---

<div class="post-metadata">

**Author:** ![tk1](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@tk1](https://forum.shopware.com/u/tk1)\
**Post date:** [23. Januar 2025 um 05:59 UTC](https://forum.shopware.com/t/advanced-search-und-opensearch-verursachen-error-500/106277/2 "2025-01-23T05:59:14Z")

</div>

```auto

{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [sw_product_manufacturer_1737598201]","index":"sw_product_manufacturer_1737598201","resource.id":"sw_product_manufacturer_1737598201","resource.type":"index_or_alias","index_uuid":"_na_"}],"type":"index_not_found_exception","reason":"no such index [sw_product_manufacturer_1737598201]","index":"sw_product_manufacturer_1737598201","resource.id":"sw_product_manufacturer_1737598201","resource.type":"index_or_alias","index_uuid":"_na_"},"status":404} [] []

```

sieht bei uns ähnlich aus. Wenn ich bei Elasticsearch ein Reindex mache, verschwindet der Fehler. Bis zum nächsten Tag. Dann schlägt die Aufgabe shopware.elasticsearch.create.alias fehl. Reindex und dann gehts. Warum auch immer…

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [23. Januar 2025 um 07:47 UTC](https://forum.shopware.com/t/advanced-search-und-opensearch-verursachen-error-500/106277/3 "2025-01-23T07:47:30Z")

</div>

In meinem Falle lag es einfach daran, dass die Tabellen „admin\_elasticsearch\_index\_task“ und „elasticsearch\_index\_task“ nicht angelegt wurden. Nachdem die dann angelegt wurden, ging soweit alles.
