src/QueryBuilder.php
/**
     * Creates multiple range queries joined by OR
     * 
     * For each key in the keys, a new range query will be created
     * 
     * @param array $keys keys to create a range query for each of them
     * @param string|string[] $operator lt, gt, lte, gte. Can be an array of mixed lt,gt,lte,gte; and if so, it should match the number of elements in the $value array too.
     * @param scalar|scalar[] $value the value for the range comparison. Should be an array of same element count if the $operator is also an array.
     * @param string $bool must, should, or must_not
     * @param boolean $filter to use the filter part instead of the query part
     * @param array $params additional query parameters for the range query
     * @return QueryBuilder|static|self
     */
Creates multiple range queries joined by OR

For each key in the keys, a new range query will be created

@param array $keys keys to create a range query for each of them
@param string|string[] $operator lt, gt, lte, gte. Can be an array of mixed lt,gt,lte,gte; and if so, it should match the number of elements in the $value array too.
@param scalar|scalar[] $value the value for the range comparison. Should be an array of same element count if the $operator is also an array.
@param string $bool must, should, or must_not
@param boolean $filter to use the filter part instead of the query part
@param array $params additional query parameters for the range query
@return QueryBuilder|static|self
Creates multiple range queries joined by OR For each key in the keys a new range query will be created @param array $keys keys to create a range query for each of them @param string|string [] $operator lt gt lte gte . Can be an array of mixed lt gt lte gte ; and if so it should match the number of elements in the $value array too . @param scalar|scalar [] $value the value for the range comparison . Should be an array of same element count if the $operator is also an array . @param string $bool must should or must_not @param boolean $filter to use the filter part instead of the query part @param array $params additional query parameters for the range query @return QueryBuilder|static|self
public function multiRange(array $keys, $operator, $value, $bool, $filter, array $params = []) {
        $subQuery = $this->orWhere($bool);
        foreach ($keys as $key) {
            $subQuery->range($key, $operator, $value, $bool, true, $params);
        }
        $subQuery->endSubQuery();
        return $this;
    }
public function multiRange ( array $ keys , $ operator , $ value , $ bool , $ filter , array $ params = [ ] ) { $ subQuery = $ this -> orWhere ( $ bool ) ; foreach ( $ keys as $ key ) { $ subQuery -> range ( $ key , $ operator , $ value , $ bool , true , $ params ) ; } $ subQuery -> endSubQuery ( ) ; return $ this ; }
Creates multiple range queries joined by OR
Creates multiple range queries joined by OR