class TermRangeSearchQuery implements JsonSerializable, SearchQueryPart (View source)

A FTS query that matches documents on a range of values. At least one bound is required, and the inclusiveness of each bound can be configured.

Methods

mixed
jsonSerialize()

No description

boost(float $boost)

No description

field(string $field)

No description

min(string $min, bool $inclusive = true)

No description

max(string $max, bool $inclusive = false)

No description

Details

mixed jsonSerialize()

No description

Return Value

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

TermRangeSearchQuery boost(float $boost)

No description

Parameters

float $boost

Return Value

TermRangeSearchQuery

TermRangeSearchQuery field(string $field)

No description

Parameters

string $field

Return Value

TermRangeSearchQuery

TermRangeSearchQuery min(string $min, bool $inclusive = true)

No description

Parameters

string $min
bool $inclusive

Return Value

TermRangeSearchQuery

TermRangeSearchQuery max(string $max, bool $inclusive = false)

No description

Parameters

string $max
bool $inclusive

Return Value

TermRangeSearchQuery