Documentation

SearchSortField implements JsonSerializable, SearchSort

Sort by a field in the hits.

Table of Contents

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

Methods

jsonSerialize()

public jsonSerialize( ) : mixed
Return values
mixed

__construct()

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

Search results