Documentation

SearchSortField
in package
implements JsonSerializable, SearchSort

Sort by a field in the hits.

Interfaces, Classes and Traits

JsonSerializable
SearchSort
Base interface for all FTS sort options in querying.

Table of Contents

__construct()  : mixed
descending()  : SearchSortField
Direction of the sort
jsonSerialize()  : mixed
missing()  : SearchSortField
Set where the hits with missing field will be inserted
mode()  : SearchSortField
Set mode of the sort
type()  : SearchSortField
Set type of the field

Methods

__construct()

public __construct(string $field) : mixed
Parameters
$field : string
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results