Pimcore guides &amp; How to 2 min read

# Backend Search Data: How To Get Visible Objects While Using Search in Pimcore

Learn how to get your objects visible while using search in Pimcore with the help of our guide.

Last updated on 29 August, 2025

## Key takeaways

1. Pimcore's backend and global search read from the search\_backend\_data table, which uses full-text indexes on its data and properties columns.
2. Saving an object does not update search\_backend\_data immediately; Pimcore adds a message to messenger\_messages and SearchBackendHandler processes it in the background.
3. Search data appears only when a cron job or Supervisor runs messenger:consume for the pimcore\_core, pimcore\_maintenance and pimcore\_image\_optimize queues.
4. Rows can be missing after migrating a database without search\_backend\_data, editing data directly in the database or misconfiguring the cron job or Supervisor.
5. Running bin/console pimcore:search-backend-reindex goes through every object and rebuilds its search index entry.

Did you ever find yourself in a situation where there are **no visible objects** when you click on the **search** icon in **Pimcore** or while using global search? Are you curious about what is actually searched and why Pimcore returns results fast among millions of objects? If you are nodding affirmative, continue reading and find out how to get visible objects while using search in Pimcore.

![Pimcore admin: search buttons next to the Categories relation field and the Author field](https://factory.dev/wp-content/uploads/2026/11/pimcore-backend-search.jpeg)

This is the situation where a **table** called search\_backend\_data comes into the work. Firstly, let’s examine how does this table look like.

![Pimcore search index table: columns id, fullpath, type, published, data and properties, with its indexes](https://factory.dev/wp-content/uploads/2026/11/backend-search-data-table.jpeg)

As you can see, a couple of **indexes** are in this table. The most important ones are **data** and **properties**; they both use the Full-text index. Since Full-text search is complex and very powerful, make sure to read more about Full-text search on this [link](https://dev.mysql.com/doc/refman/5.6/en/innodb-fulltext-index.html) and on the [Josh Graham blog](https://www.joshgraham.com/full-text-search-explained/), where he explained it further.

## How Pimcore Utilizes Backend Search Data Feature

The idea is to put everything that could be searched from **objects/assets/documents** into search\_backend\_data as data or properties. Now, let’s examine what it stores as data in the database. To do that, we will create a class called “test” for testing purposes.

![Example table of field names and types: Name, LastName and SomeOtherData, all input fields](https://factory.dev/wp-content/uploads/2026/11/data-and-properties.jpeg)

Whenever we store an object, the search\_backend data will not be populated immediately. Instead, a messenger\_messages table will be populated with the details of which row needs to be created to populate the search\_backend\_data. So, storing the data in the table happens **asynchronously** in the background.

If we would store the object above and if we check the messenger\_messages table, we will see something like this:

*O:36:\\”Symfony\\\\Component\\\\Messenger\\\\Envelope\\”:2:{s:44:\\”\\0Symfony\\\\Component\\\\Messenger\\\\Envelope\\0stamps\\”;a:1:{s:46:\\”Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\BusNameStamp\\”;a:1:{i:0;O:46:\\”Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\BusNameStamp\\”:1:{s:55:\\”\\0Symfony\\\\Component\\\\Messenger\\\\Stamp\\\\BusNameStamp\\0busName\\”;s:26:\\”messenger.bus.pimcore-core\\”;}}}s:45:\\”\\0Symfony\\\\Component\\\\Messenger\\\\Envelope\\0message\\”;O:38:\\”Pimcore\\\\Messenger\\\\SearchBackendMessage\\”:2:{s:7:\\”\\0\*\\0type\\”;s:6:\\”object\\”;s:5:\\”\\0\*\\0id\\”;i:218932;}}*

So, in order to store the data in search\_backend data, Pimcore’s **SearchBackendHandler** needs to be invoked. The SearchBackendHandler is simply a symphony class that responds to the event in the background.

The important thing here is that from Pimcore’s documentation, cron job op supervisor needs to be set in order to consume messages:

*\*/5 \* \* \* \* /your/project/bin/console messenger:consume pimcore\_core pimcore\_maintenance pimcore\_image\_optimize –time-limit=300*

After the cronjob has been invoked and we have maintenance set up correctly in Pimcore, we should be able to see newly created class data in a search\_backend\_data table.

If you missed it or don’t have a maintenance setup, you can read about supervisor/cronjob in [Pimcore’s Development Documentation](https://pimcore.com/docs/pimcore/current/Development_Documentation/Getting_Started/Installation.html).

We should be able to see new records in search\_backend\_data shortly.

The data columns should contain all of the data we entered in our Test object.

## I still don’t see my data despite the cronjob/supervisor set

It can occur that search\_backend\_data is missing some rows due to a couple of reasons.

1. Migrating database without search\_backend\_data cause it can sometimes be too big.
2. Manually modifying the data through the database.
3. Misconfiguration in supervisor/cronjob.

If all the 3 points above are confirmed that they should work, we can use one last command: **./bin/console pimcore:search-backend-reindex**

This command, if run, will go through each object and index it.

**Do you have more questions, or you’re having issues while implementing this? Feel free to [reach out](https://factory.dev/contact); we’ll be happy to help!**

## Related

[Pimcore guides &amp; How to **Pimcore Studio Setup Guide: Backend &amp; Infrastructure for Developers** Step-by-step overview of Pimcore Studio backend setup, including required services, DDEV configuration, bundle installation, indexing, and production considerations. 34 min read](https://factory.dev/pimcore-knowledge-base/tutorial/pimcore-studio-setup-guide-backend-infrastructure) [Pimcore guides &amp; How to **Customizing Pimcore Classification Store: Removing Grid View Duplicates and Simplifying DataHub Imports** Shared Classification Store attributes can clutter Pimcore grid views and make DataHub imports harder to maintain. This article shows how a custom implementation creates one logical attribute view… 10 min read](https://factory.dev/pimcore-knowledge-base/how-to/customizing-pimcore-classification-store) [Pimcore guides &amp; How to **Using named API routes in separated Vue CLI generated Applications** Discover how to use named, and exposed routes via Symfony FOSJsRoutingBundle in separated Vue CLI generated Applications. 2 min read](https://factory.dev/pimcore-knowledge-base/how-to/named-api-routes-in-separated-vue-cli-generated-applications)

---

Source: https://factory.dev/pimcore-knowledge-base/how-to/backend-search-data-how-to-get-visible-objects-using-search-in-pimcore
