class SearchSortScore implements JsonSerializable, SearchSort (View source)

Sort by the hit score.

Methods

mixed
jsonSerialize()

Specify data which should be serialized to JSON

__construct()

No description

descending(bool $descending)

Direction of the sort

Details

mixed jsonSerialize()

Specify data which should be serialized to JSON

Return Value

mixed

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

__construct()

No description

SearchSortScore descending(bool $descending)

Direction of the sort

Parameters

bool $descending

Return Value

SearchSortScore