public function getIndexInfo($collection, $indexId)
    {
        $result = $this->listIndices($collection, true);

        return isset($result[$collection . '/' . $indexId]) ? $result[$collection . '/' . $indexId] : null;
    }
public function getIndexInfo($collection, $indexId)
    {
        $result = $this->listIndices($collection, true);

        return isset($result[$collection . '/' . $indexId]) ? $result[$collection . '/' . $indexId] : null;
    }
public function getIndexInfo ( $ collection , $ indexId ) { $ result = $ this -> listIndices ( $ collection , true ) ; return isset ( $ result [ $ collection . '/' . $ indexId ] ) ? $ result [ $ collection . '/' . $ indexId ] : null ; }
Get information about an index. Returns null if the index does not exist and returns an array of index information if it does.
@param  string     $collection The name of the collection.
@param  string     $indexId    The id of the index.
@return null|array
Get information about an index . Returns null if the index does not exist and returns an array of index information if it does .