PHP Class Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration

Author: Aurelien FOUCRET ([email protected])
Inheritance: implements Smile\ElasticsuiteCore\Api\Search\Request\ContainerConfigurationInterface
Show file Open project: smile-sa/elasticsuite

Public Methods

Method Description
__construct ( string $containerName, integer $storeId, BaseConfig $baseConfig, Factory $relevanceConfigFactory, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager ) Constructor.
getIndexName ( ) {@inheritDoc}
getLabel ( ) {@inheritDoc}
getMapping ( ) {@inheritDoc}
getName ( ) {@inheritDoc}
getRelevanceConfig ( ) {@inheritDoc}
getStoreId ( ) {@inheritDoc}
getTypeName ( ) {@inheritDoc}

Private Methods

Method Description
getIndex ( ) : Smile\ElasticsuiteCore\Api\Index\IndexInterface Retrieve the index associated with the currrent search request container.
readBaseConfigParam ( string $param ) : mixed Read configuration param from base config.

Method Details

__construct() public method

Constructor.
public __construct ( string $containerName, integer $storeId, BaseConfig $baseConfig, Factory $relevanceConfigFactory, Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface $indexManager )
$containerName string Search request container name.
$storeId integer Store id.
$baseConfig Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\BaseConfig XML file configuration.
$relevanceConfigFactory Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory Fulltext search relevance factory
$indexManager Smile\ElasticsuiteCore\Api\Index\IndexOperationInterface Index manager (used to load mappings).

getIndexName() public method

{@inheritDoc}
public getIndexName ( )

getLabel() public method

{@inheritDoc}
public getLabel ( )

getMapping() public method

{@inheritDoc}
public getMapping ( )

getName() public method

{@inheritDoc}
public getName ( )

getRelevanceConfig() public method

{@inheritDoc}
public getRelevanceConfig ( )

getStoreId() public method

{@inheritDoc}
public getStoreId ( )

getTypeName() public method

{@inheritDoc}
public getTypeName ( )