SilverStripe\FullTextSearch\Solr\SolrIndex::search
Signature
public function search(SearchQuery
$query,
[integer
$offset = 1,
[integer
$limit = 1,
[array
$params = ]]] )
Parameters
$query
— SilverStripe\FullTextSearch\Search\Queries\SearchQuery
$offset
— integer$limit
— integer$params
— array- Extra request parameters passed through to Solr
Returns
- ArrayData
- Map with the following keys:
- 'Matches': ArrayList of the matched object instances