SolrSearchService::query
Perform a raw query against the search index, returning a SolrResultSet object that can be used to extract a more complete result set
Signature
public function query(String
$query,
[integer
$offset = 0,
[integer
$limit = 20,
[array
$params = ,
[array
$andWith = ]]]] )
Parameters
$query
—
object
The lucene query to execute.
$offset
—
integer
$limit
—
integer
How many items to limit the query to return
$params
—
array
A set of parameters to be passed along with the query
$andWith
—
array
A set of extra and with terms to add to the query
Returns
- SolrResultSet