Skip to content

Commit

Permalink
IBX-3553: Moved common search service compiler passes to CoreBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p authored Sep 9, 2022
1 parent 439ae14 commit 1bdfc7c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions bundle/EzSystemsEzPlatformSolrSearchEngineBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
*/
namespace EzSystems\EzPlatformSolrSearchEngineBundle;

use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\CoreFilterRegistryPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\GatewayRegistryPass;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\AggregateCriterionVisitorPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\AggregateFacetBuilderVisitorPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\AggregateSortClauseVisitorPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\FieldMapperPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\CoreFilterRegistryPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\EndpointRegistryPass;
use eZ\Publish\Core\Base\Container\Compiler\Search\AggregateFieldValueMapperPass;
use eZ\Publish\Core\Base\Container\Compiler\Search\FieldRegistryPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\FieldMapperPass;
use EzSystems\EzPlatformSolrSearchEngine\Container\Compiler\GatewayRegistryPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

class EzSystemsEzPlatformSolrSearchEngineBundle extends Bundle
{
Expand All @@ -39,9 +37,6 @@ public function build(ContainerBuilder $container)
$container->addCompilerPass(new EndpointRegistryPass());
$container->addCompilerPass(new GatewayRegistryPass());
$container->addCompilerPass(new CoreFilterRegistryPass());

$container->addCompilerPass(new AggregateFieldValueMapperPass());
$container->addCompilerPass(new FieldRegistryPass());
}

public function getContainerExtension()
Expand Down

0 comments on commit 1bdfc7c

Please sign in to comment.