Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface::getIndicesConfig PHP Méthode

getIndicesConfig() public méthode

Returns the list of the available indices declared in elasticsuite_indices.xml.
public getIndicesConfig ( ) : array
Résultat array
    public function getIndicesConfig();

Usage Example

Exemple #1
0
 /**
  * Append the type mapping to search requests configuration.
  *
  * @return BaseConfig
  */
 private function addMappings()
 {
     $indicesSettings = $this->indexSettings->getIndicesConfig();
     foreach ($this->_data as $requestName => $requestConfig) {
         $index = $requestConfig['index'];
         $type = $requestConfig['type'];
         $this->_data[$requestName]['mapping'] = $indicesSettings[$index]['types'][$type]->getMapping();
     }
     return $this;
 }
All Usage Examples Of Smile\ElasticsuiteCore\Api\Index\IndexSettingsInterface::getIndicesConfig