$_params
$_params : array
Params.
Returns parent documents having child docs matching the query.
This function can be used to handle params for queries, filter
__construct(string|\Elastica\Query|\Elastica\Query\AbstractQuery $query, string $type = null)
Construct HasChild Query.
string|\Elastica\Query|\Elastica\Query\AbstractQuery | $query | |
string | $type | Parent document type |
setQuery(string|\Elastica\Query|\Elastica\Query\AbstractQuery $query) : $this
Sets query object.
string|\Elastica\Query|\Elastica\Query\AbstractQuery | $query |
setInnerHits(\Elastica\Query\InnerHits $innerHits) : $this
Set inner hits.
\Elastica\Query\InnerHits | $innerHits |