getIndexSchema() public method
Obtains the metadata for the named index.
public yii\sphinx\IndexSchema|null getIndexSchema ( $name, $refresh = false ) | ||
---|---|---|
$name | string |
Index name. The index name may contain schema name if any. Do not quote the index name. |
$refresh | boolean |
Whether to reload the index schema even if it is found in the cache. |
return | yii\sphinx\IndexSchema|null |
Index metadata. |
Please login to continue.