I create a new method to set the index name, specialy when the devoloper don't need the 'search' method, only 'query'.
In 'query' method, SphinxSearch use the first indexer specified in the configuration file. With this method, the developer can specify the indexer that is needed.
I create a new method to set the index name, specialy when the devoloper don't need the 'search' method, only 'query'.
In 'query' method, SphinxSearch use the first indexer specified in the configuration file. With this method, the developer can specify the indexer that is needed.
Example: