/** * Create a Sphinx client with the additional functionalities of FSphinx. * If no default index is defined, queries all indexes by default. * * @param string $default_index Limit Sphinx search to this index. */ public function __construct($default_index = null) { $this->facets = null; $this->_query_parser = null; $this->_query = null; $this->_default_index = $default_index ?: '*'; $this->_filtering = false; $this->_options = array(); parent::__construct(); }