$_params
$_params : array
Params.
SpanFirst query.
This function can be used to handle params for queries, filter
__construct(\Elastica\Query\AbstractQuery|array $match = null, integer $end = null)
Constructs a SpanFirst query object.
\Elastica\Query\AbstractQuery|array | $match | OPTIONAL |
integer | $end | OPTIONAL |
setMatch(\Elastica\Query\AbstractSpanQuery|array $args) : $this
Set the query to be wrapped into the span multi query.
\Elastica\Query\AbstractSpanQuery|array | $args | Matching query |
If not valid query
_setQuery(string $type, \Elastica\Query\AbstractQuery|array $args) : $this
Sets a query to the current object.
string | $type | Query type |
\Elastica\Query\AbstractQuery|array | $args | Query |
If not valid query