You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: PROTOCOL.md
+1
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ _The Sonic Channel Search mode is used for querying the search index. Once in th
38
38
39
39
*`QUERY`: query database (syntax: `QUERY <collection> <bucket> "<terms>" [LIMIT(<count>)]? [OFFSET(<count>)]? [LANG(<locale>)]?`; time complexity: `O(1)` if enough exact word matches or `O(N)` if not enough exact matches where `N` is the number of alternate words tried, in practice it approaches `O(1)`)
40
40
*`SUGGEST`: auto-completes word (syntax: `SUGGEST <collection> <bucket> "<word>" [LIMIT(<count>)]?`; time complexity: `O(1)`)
41
+
*`LIST`: enumerates all words in an index (syntax: `LIST <collection> <bucket> [LIMIT(<count>)]? [OFFSET(<count>)]?`; time complexity: `O(N)` where `N` is the number of words enumerated, within provided limits)
41
42
*`PING`: ping server (syntax: `PING`; time complexity: `O(1)`)
42
43
*`HELP`: show help (syntax: `HELP [<manual>]?`; time complexity: `O(1)`)
43
44
*`QUIT`: stop connection (syntax: `QUIT`; time complexity: `O(1)`)
0 commit comments