diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml b/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml index e261137d78..b55326e714 100644 --- a/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml +++ b/eZ/Bundle/EzPublishCoreBundle/Resources/config/papi.yml @@ -55,6 +55,7 @@ services: class: eZ\Publish\SPI\Search\Handler factory: ["@ezpublish.api.search_engine.factory", buildSearchEngine] public: false + lazy: true ezpublish.spi.search_engine.indexer: class: eZ\Publish\Core\Search\Common\Indexer