# Artikel nicht in Suche sichtbar

**URL:** <https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708>\
**Category:** Administration\
**Created:** [26. Juni 2018 um 07:00 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708 "2018-06-26T07:00:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 07:00 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/1 "2018-06-26T07:00:12Z")

</div>

Hi,

ich wollte fragen welche Gründe es geben kann, dass ein bestimmter Artikel nicht in der Suche zu finden ist.

Egal mit welchem Keyword ich es probiere, der Artikel taucht nicht auf. Ich habe den Cache mehrmals geleert. Ich habe den Artikel schon seid ein paar Tagen drin.

Tipps sind sehr willkommen.

---

<div class="post-metadata">

**Author:** ![langnickel](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@langnickel](https://forum.shopware.com/u/langnickel)\
**Post date:** [26. Juni 2018 um 07:14 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/2 "2018-06-26T07:14:10Z")

</div>

1. Lagerbestand 0 und Abverkauf an?
2. Falsche Konfigurtion der Suche?
3. Plugins?  
3a) Intelligente Suche Plugin von Shopware?
4. Artikel in keiner Kategorie?
5. Artikel nicht für Shop freigegeben (subshops?)
6. Artikel nicht aktiv?  
&nbsp;

Mehr fällt mir spontan nicht ein 🙂

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 07:22 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/3 "2018-06-26T07:22:22Z")

</div>

Danke für die schnelle Antwort:

Die Artikel sind nicht Bestandsgeführt.

Die Suche findet ja alle anderen Artikel.

Plugins würden das erste mal Probleme machen, da es sonst immer funktioniert hat.

Artikel hat Kategorien

Und der Artikel ist für Shops freigegeben und aktiv.

In den Kategorien ist der Artikel ja auch zu finden. Nur halt über die Suche nicht.

---

<div class="post-metadata">

**Author:** ![BestShopPossible](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@BestShopPossible](https://forum.shopware.com/u/BestShopPossible)\
**Post date:** [26. Juni 2018 um 07:41 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/4 "2018-06-26T07:41:05Z")

</div>

Du solltest dich mal mit den Cronjobs beschäftigen:

Einstellungen-\>Caches / Perfomance-\>Einstellungen-\>Suche

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 07:53 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/5 "2018-06-26T07:53:28Z")

</div>

Das ist bei mir auf Cronjob gestellt.

Wenn ich den Suchindex neu aufbaue wird garnichtsmehr in der Suche gefunden.&nbsp; Wie lange braucht das ca?

---

<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:** [26. Juni 2018 um 08:01 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/6 "2018-06-26T08:01:17Z")

</div>

> Wenn ich den Suchindex neu aufbaue wird garnichtsmehr in der Suche gefunden.

Mal zur Kontrolle in die Datenbank schauen, ob die Tabelle **s\_search\_index** auch Einträge hat. Falls nicht, dann mal in den Logs (SW Log und Server Log) schauen ob dort ggf. Fehler drin stehen.

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 08:14 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/7 "2018-06-26T08:14:49Z")

</div>

Keine Einträge in s\_search\_index. Und ein Fehler in var/logs

```
[2018-06-26 10:11:44] core.CRITICAL: An exception occurred while executing 'SELECT id as id, name, keywords, lb_subtitle FROM s_articles': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lb_subtitle' in 'field list' [] {"uid":"acfa25d"}
[2018-06-26 10:11:44] core.CRITICAL: An exception occurred while executing 'SELECT id as id, name, keywords, lb_subtitle FROM s_articles': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lb_subtitle' in 'field list' [] {"uid":"acfa25d"}
[2018-06-26 10:11:44] core.ERROR: exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lb_subtitle' in 'field list'' in /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:833 Stack trace: #0 /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(833): PDO->query('SELECT id as id...') #1 /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(766): Doctrine\DBAL\Connection->executeQuery('SELECT id as id...', Array, Array) #2 /html/shopware/engine/Shopware/Bundle/SearchBundleDBAL/SearchTerm/SearchIndexer.php(149): Doctrine\DBAL\Connection->fetchAll('SELECT id as id...') #3 /html/shopware/engine/Shopware/Plugins/Default/Core/RebuildIndex/Controllers/SearchIndex.php(43): Shopware\Bundle\SearchBundleDBAL\SearchTerm\SearchIndexer->build() #4 /html/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_SearchIndex->buildAction() #5 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('buildAction') #6 /html/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /html/shopware/engine/Shopware/Kernel.php(191): Enlight_Controller_Front->dispatch() #8 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(251): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 /html/shopware/shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'SELECT id as id, name, keywords, lb_subtitle FROM s_articles': SQLSTATE[42S22]: Column not found: 1054 Unknown column 'lb_subtitle' in 'field list'' in /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:119 Stack trace: #0 /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(836): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'SELECT id as id...', Array) #1 /html/shopware/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(766): Doctrine\DBAL\Connection->executeQuery('SELECT id as id...', Array, Array) #2 /html/shopware/engine/Shopware/Bundle/SearchBundleDBAL/SearchTerm/SearchIndexer.php(149): Doctrine\DBAL\Connection->fetchAll('SELECT id as id...') #3 /html/shopware/engine/Shopware/Plugins/Default/Core/RebuildIndex/Controllers/SearchIndex.php(43): Shopware\Bundle\SearchBundleDBAL\SearchTerm\SearchIndexer->build() #4 /html/shopware/engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_SearchIndex->buildAction() #5 /html/shopware/engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('buildAction') #6 /html/shopware/engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #7 /html/shopware/engine/Shopware/Kernel.php(191): Enlight_Controller_Front->dispatch() #8 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(484): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #9 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #10 /html/shopware/vendor/symfony/http-kernel/HttpCache/HttpCache.php(251): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #11 /html/shopware/engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #12 /html/shopware/shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #13 {main} [] {"uid":"acfa25d"}

```

Ich weiß leider nicht wirklich wie ich das beheben soll.&nbsp;

---

<div class="post-metadata">

**Author:** ![BestShopPossible](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@BestShopPossible](https://forum.shopware.com/u/BestShopPossible)\
**Post date:** [26. Juni 2018 um 08:40 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/8 "2018-06-26T08:40:09Z")

</div>

lb\_subtitle ist nicht im Shopware-Standard.

Hier gibt/gab es ein Plug-In welches dieses Feld hinzufügt (hinzugefügt und bei deinstallation nicht korrekt bereinigt) hat.&nbsp;

Mal in die Freitextfeldverwaltung gehen und das Artikelmodel neu generieren lassen. Evtl. hilft das schon.

---

<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:** [26. Juni 2018 um 08:41 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/9 "2018-06-26T08:41:24Z")

</div>

> Column not found: 1054 Unknown column ‚lb\_subtitle‘

Da wird nach der Spalte „lb\_subtitle“ abgefragt, die gibt es aber nicht in der Tabelle „s\_articles“. Deshalb kann der Suchindex nicht aufgebaut werden. Eventuell mal ein Update der Systemplugins oder vom Shop machen. Ein fremdes Plugin sehe ich jetzt nicht in der Fehlermeldung. Ist das ein aktuelles SW System?

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 08:44 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/10 "2018-06-26T08:44:12Z")

</div>

&nbsp;also lb\_subtitle&nbsp;ist&nbsp;in der Tabelle&nbsp;s\_articles\_attributes.&nbsp;

Und das Model neu generieren hat leider nicht geholfen.

Die Shopware Version ist 5.3.7 .&nbsp; Aber bisher hat ja lles funktioniert. Neue Artikel wurden in der Suche gefunden etc. Und weshalb sucht Shopware in s\_articles&nbsp; ein Freitextfeld was in für s\_article\_attributes anglegt hab.

---

<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:** [26. Juni 2018 um 08:50 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/11 "2018-06-26T08:50:34Z")

</div>

> also lb\_subtitle&nbsp;ist&nbsp;in der Tabelle&nbsp;s\_articles\_attributes

In einem originalen Shop ist das nicht der Fall - jedenfalls nicht in der 5.4.x Version. In deinem Falle wird aber die Tabelle „s\_articles“ abgefragt. Auch dort gibt es so eien Splate nicht. Irgendetwas muss ja im Shop verändert worden sein. Etwas Installiert? Von alleine kommt so etwas nicht.

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 08:53 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/12 "2018-06-26T08:53:56Z")

</div>

Das letzte mal wurde ein Plugin&nbsp; 2017 installiert. Es werden eigentlich nur Artikel reingestellt und wieder entfernt.

---

<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:** [26. Juni 2018 um 08:58 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/13 "2018-06-26T08:58:25Z")

</div>

Ich weiß nicht woher das " lb\_subtitle" bei dir kommt. Eventuell in den Sucheinstellungen etwas eingetragen (relevanz Felder)? Auch in einem SW 5.3 kommt dieses Feld nicht vor.

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 09:00 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/14 "2018-06-26T09:00:31Z")

</div>

lb\_subititles ist wie gesagt ein angelegtes Freitextfeld. Das kommt von keinem Plugin.&nbsp; Ein Freitextfeld in s\_article\_attributes.

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 09:06 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/15 "2018-06-26T09:06:40Z")

</div>

Ok ich habe es gefunden. Aus irgendeinem Grund war bei Relevanz/Felder lb\_subtitle in Tabelle s\_articles eingestellt. Muss wohl jemand an den Einstellungen herumgespielt haben.&nbsp; Aber man sollte meinen, dass das System solche offensichtlich falschen Eingaben nicht zulässt.

---

<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:** [26. Juni 2018 um 09:07 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/16 "2018-06-26T09:07:32Z")

</div>

> SELECT id as id, name, keywords, lb\_subtitle FROM s\_articles

Wie du sehen kannst, sucht er wohl das Freitextfeld in einer anderen Tabelle als in s\_article\_attributes. Da ist wohl etwas im Shop falsch eingestellt. Kontrolliere doch mal die Sucheinstellungen.

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 09:10 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/17 "2018-06-26T09:10:51Z")

</div>

Ok ich habe es gefunden. Aus irgendeinem Grund war bei Relevanz/Felder lb\_subtitle in Tabelle s\_articles eingestellt. Muss wohl jemand an den Einstellungen herumgespielt haben.&nbsp; Aber man sollte meinen, dass das System solche offensichtlich falschen Eingaben nicht zulässt.&nbsp;

Vielen Dank ich wusste garnicht wo man sowas Einstellen kann bei Shopware!

---

<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:** [26. Juni 2018 um 09:11 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/18 "2018-06-26T09:11:30Z")

</div>

> Aber man sollte meinen, dass das System solche offensichtlich falschen Eingaben nicht zulässt.

Shopware kann nichts dafür :-)&nbsp;

---

<div class="post-metadata">

**Author:** ![lbmh](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@lbmh](https://forum.shopware.com/u/lbmh)\
**Post date:** [26. Juni 2018 um 09:30 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/19 "2018-06-26T09:30:32Z")

</div>

Ok,&nbsp; der Chef hats umgestellt in Unwissenheit und niemandem was gesagt:)&nbsp; Und ich finde man sollte keine Spalten&nbsp;auswählen können die garnicht in dieser Tabelle exisieren oder?

---

<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:** [26. Juni 2018 um 09:35 UTC](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708/20 "2018-06-26T09:35:12Z")

</div>

Hätte man nach dem Umstellen ein Test gemacht, dann gäbe es dieses Beitrag hier nicht 😉

[Nächste Seite](https://forum.shopware.com/t/artikel-nicht-in-suche-sichtbar/53708.md?page=2)
