$_params
$_params : array
Params.
SpanNear query.
This function can be used to handle params for queries, filter
__construct(array<mixed,\Elastica\Query\AbstractSpanQuery> $clauses = array(), integer $slop = 1, boolean $inOrder = false)
Constructs a SpanNear query object.
array<mixed,\Elastica\Query\AbstractSpanQuery> | $clauses | OPTIONAL |
integer | $slop | OPTIONAL maximum proximity |
boolean | $inOrder | OPTIONAL true if order of searched clauses is important |
addClause(\Elastica\Query\AbstractSpanQuery $clause) : $this
Add clause part to query.
\Elastica\Query\AbstractSpanQuery | $clause |
If not valid query