class PrefixSearchQuery implements JsonSerializable, SearchQueryPart (View source)

A FTS query that allows for simple matching on a given prefix.

Methods

mixed
jsonSerialize()

No description

boost(float $boost)

No description

field(string $field)

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.

PrefixSearchQuery boost(float $boost)

No description

Parameters

float $boost

Return Value

PrefixSearchQuery

PrefixSearchQuery field(string $field)

No description

Parameters

string $field

Return Value

PrefixSearchQuery