Skip to content

Commit 79814b9

Browse files
committed
tici: Add topn params
1 parent 1374320 commit 79814b9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

proto/executor.proto

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,9 @@ message FTSQueryInfo {
215215
optional string query_text = 5 [(gogoproto.nullable) = false];
216216
optional string query_tokenizer = 6 [(gogoproto.nullable) = false]; // Always the same as parser/model/index_full_text.go:FullTextParserType
217217

218-
// For QueryType == WithScore, a top_k can be optionally specified.
219-
// If top_k is specified, it means the TableScan is safe to return at most *top* k results
220-
// because upper executors will have a TopK anyway.
221-
// If not specified (optional, or top_k is very large), then all results will be returned.
222-
// This option is not supported for QueryType == NoScore.
223218
optional uint32 top_k = 10;
219+
repeated int64 sort_column_ids = 11;
220+
repeated bool sort_column_asc = 12;
224221

225222
// Distinguish match_word, match_expression, match_prefix, match_regexp
226223
optional ScalarFuncSig query_func = 20 [(gogoproto.nullable) = false];

0 commit comments

Comments
 (0)