private function addMappings()
    {
        $indicesSettings = $this->indexSettings->getIndicesConfig();

        foreach ($this->_data as $requestName => $requestConfig) {
            $index = $requestConfig['index'];
            $this->_data[$requestName]['mapping'] = $indicesSettings[$index]['mapping'];
        }

        return $this;
    }
private function addMappings()
    {
        $indicesSettings = $this->indexSettings->getIndicesConfig();

        foreach ($this->_data as $requestName => $requestConfig) {
            $index = $requestConfig['index'];
            $this->_data[$requestName]['mapping'] = $indicesSettings[$index]['mapping'];
        }

        return $this;
    }
private function addMappings ( ) { $ indicesSettings = $ this -> indexSettings -> getIndicesConfig ( ) ; foreach ( $ this -> _data as $ requestName => $ requestConfig ) { $ index = $ requestConfig [ 'index' ] ; $ this -> _data [ $ requestName ] [ 'mapping' ] = $ indicesSettings [ $ index ] [ 'mapping' ] ; } return $ this ; }
Append the type mapping to search requests configuration.

@return BaseConfig
Append the type mapping to search requests configuration .