Create search object.
public createSearch ( string | array | |
||
$query | string | array | |
Array with all query data inside or a Elastica\Query object |
$options | integer | array | OPTIONAL Limit or associative array of options (option=>value) |
$builder | Elastica\ResultSet\BuilderInterface | |
return |