bundle/DependencyInjection/EzSystemsEzPlatformSolrSearchEngineExtension.php
private function configureBoostMap(ContainerBuilder $container, $connectionName, $connectionParams)
    {
        $alias = $this->getAlias();
        $boostFactorMap = $this->buildBoostFactorMap($connectionParams['boost_factors']);
        $boostFactorMapId = "{$alias}.connection.{$connectionName}.boost_factor_map_id";

        $container->setParameter($boostFactorMapId, $boostFactorMap);
    }
private function configureBoostMap(ContainerBuilder $container, $connectionName, $connectionParams)
    {
        $alias = $this->getAlias();
        $boostFactorMap = $this->buildBoostFactorMap($connectionParams['boost_factors']);
        $boostFactorMapId = "{$alias}.connection.{$connectionName}.boost_factor_map_id";

        $container->setParameter($boostFactorMapId, $boostFactorMap);
    }
Creates boost factor map parameter for a given $connectionName.

@param ContainerBuilder $container
@param string $connectionName
@param array $connectionParams