Debian Codegraph @

test/command/suite/select/query/logical_operator/or_and.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_HASH_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Terms index COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"content": "Today is a good day."},
12 {"content": "Tomorrow will be a good day."}
13 ]
14 [[0,0.0,0.0],2]
15 select Memos --match_columns 'content' --query '(today OR tomorrow) day'
16 [
17 [
18 0,
19 0.0,
20 0.0
21 ],
22 [
23 [
24 [
25 2
26 ],
27 [
28 [
29 "_id",
30 "UInt32"
31 ],
32 [
33 "content",
34 "ShortText"
35 ]
36 ],
37 [
38 1,
39 "Today is a good day."
40 ],
41 [
42 2,
43 "Tomorrow will be a good day."
44 ]
45 ]
46 ]
47 ]