picker order by
This commit is contained in:
@@ -25,6 +25,18 @@ message SearchRequest {
|
||||
repeated ColumnConstraint must = 4;
|
||||
optional uint32 limit = 5;
|
||||
optional uint32 offset = 6;
|
||||
optional SearchOrder order = 7;
|
||||
}
|
||||
|
||||
message SearchOrder {
|
||||
string column = 1;
|
||||
SearchOrderDirection direction = 2;
|
||||
}
|
||||
|
||||
enum SearchOrderDirection {
|
||||
SEARCH_ORDER_DIRECTION_UNSPECIFIED = 0;
|
||||
SEARCH_ORDER_DIRECTION_ASC = 1;
|
||||
SEARCH_ORDER_DIRECTION_DESC = 2;
|
||||
}
|
||||
message SearchResponse {
|
||||
message Hit {
|
||||
@@ -35,6 +47,7 @@ message SearchResponse {
|
||||
// Configured human-readable value for this row.
|
||||
string row_display_value = 5;
|
||||
string row_display_column = 6;
|
||||
optional uint64 position = 7;
|
||||
}
|
||||
repeated Hit hits = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user