$_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 | |
integer | $slop | maximum proximity |
boolean | $inOrder | true if order of searched clauses is important |
addClause(\Elastica\Query\AbstractSpanQuery $clause) : $this
Add clause part to query.
\Elastica\Query\AbstractSpanQuery | $clause |