Debian Codegraph @

test/command/suite/select/function/query/options/options.expected

raw
1 plugin_register token_filters/stop_word
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Memos content COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto --token_filters TokenFilterStopWord
8 [[0,0.0,0.0],true]
9 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
10 [[0,0.0,0.0],true]
11 column_create Terms is_stop_word COLUMN_SCALAR Bool
12 [[0,0.0,0.0],true]
13 load --table Terms
14 [
15 {"_key": "and", "is_stop_word": true}
16 ]
17 [[0,0.0,0.0],1]
18 load --table Memos
19 [
20 {"content": "Hello"},
21 {"content": "Hello and Good-bye"},
22 {"content": "Good-bye"}
23 ]
24 [[0,0.0,0.0],3]
25 select Memos --filter 'query("content", "Hello and", {"options": {"TokenFilterStopWord.enable": false}})' --match_escalation_threshold -1 --sort_keys -_score
26 [
27 [
28 0,
29 0.0,
30 0.0
31 ],
32 [
33 [
34 [
35 1
36 ],
37 [
38 [
39 "_id",
40 "UInt32"
41 ],
42 [
43 "content",
44 "ShortText"
45 ]
46 ],
47 [
48 2,
49 "Hello and Good-bye"
50 ]
51 ]
52 ]
53 ]