search() public method
Executes the query and returns the complete search result including e.g. hits, facets, totalCount.
public array search ( $db = null, $options = [] ) | ||
---|---|---|
$db | yii\elasticsearch\Connection |
The database connection used to execute the query. If this parameter is not given, the |
$options | array |
The options given with this query. Possible options are: |
return | array |
The query results. |
Please login to continue.