Sort specifies the presorting method of the search index or the sorting method of the returned results.
Data structure
message Sort {
repeated Sorter sorter = 1;
}
Parameter | Type | Required | Description |
sorter | Yes | The sorting configurations. Valid values: FieldSort, GeoDistanceSort, ScoreSort, and PrimaryKeySort. By default, data is sorted based on the primary key. |