Search/Sphinxsearch.php
public function addQuery($query, array $indexes)
    {
        if (empty($indexes)) {
            throw new EmptyIndexException('Try to search with empty indexes');
        }

        $this->sphinx->addQuery($query, implode(' ', $indexes));
    }
public function addQuery($query, array $indexes)
    {
        if (empty($indexes)) {
            throw new EmptyIndexException('Try to search with empty indexes');
        }

        $this->sphinx->addQuery($query, implode(' ', $indexes));
    }
public function addQuery ( $ query , array $ indexes ) { if ( empty ( $ indexes ) ) { throw new EmptyIndexException ( 'Try to search with empty indexes' ) ; } $ this -> sphinx -> addQuery ( $ query , implode ( ' ' , $ indexes ) ) ; }
Adds a query to a multi-query batch

@param string $query Search query
@param array $indexes Index list to perform the search

@throws EmptyIndexException If $indexes is empty
Adds a query to a multi - query batch