yii\sphinx\Connection::getIndexSchema PHP Method

getIndexSchema() public method

Obtains the schema information for the named index.
public getIndexSchema ( string $name, boolean $refresh = false ) : IndexSchema
$name string index name.
$refresh boolean whether to reload the table schema even if it is found in the cache.
return IndexSchema index schema information. Null if the named index does not exist.
    public function getIndexSchema($name, $refresh = false)
    {
        return $this->getSchema()->getIndexSchema($name, $refresh);
    }