public function getIndex($indexName)
    {
        return $this->reduceFirst(function (SearchProviderInterface $provider) use ($indexName) {
            return $provider->getIndex($this->indexNamePrefix . $indexName);
        });
    }
public function getIndex($indexName)
    {
        return $this->reduceFirst(function (SearchProviderInterface $provider) use ($indexName) {
            return $provider->getIndex($this->indexNamePrefix . $indexName);
        });
    }
public function getIndex ( $ indexName ) { return $ this -> reduceFirst ( function ( SearchProviderInterface $ provider ) use ( $ indexName ) { return $ provider -> getIndex ( $ this -> indexNamePrefix . $ indexName ) ; } ) ; }
Return the index object

@param $indexName

@return mixed
Return the index object