Debian Codegraph @

test/command/suite/select/query_expansion/with_expander.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 Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
6 [[0,0.0,0.0],true]
7 column_create Lexicon diary_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 table_create Synonyms TABLE_PAT_KEY ShortText
10 [[0,0.0,0.0],true]
11 column_create Synonyms expansion COLUMN_SCALAR ShortText
12 [[0,0.0,0.0],true]
13 column_create Synonyms expander COLUMN_SCALAR ShortText
14 [[0,0.0,0.0],true]
15 load --table Memos
16 [
17 ["content"],
18 ["Start groonga!"],
19 ["Start mroonga!"],
20 ["Start rroonga!"],
21 ["Start Ruby!"]
22 ]
23 [[0,0.0,0.0],4]
24 load --table Synonyms
25 [
26 ["_key", "expansion", "expander"],
27 ["groonga", "(groonga OR rroonga OR mroonga)", "(groonga OR rroonga)"]
28 ]
29 [[0,0.0,0.0],1]
30 select --table Memos --query_expansion Synonyms.expansion --query_expander Synonyms.expander --match_columns content --query groonga
31 [
32 [
33 0,
34 0.0,
35 0.0
36 ],
37 [
38 [
39 [
40 2
41 ],
42 [
43 [
44 "_id",
45 "UInt32"
46 ],
47 [
48 "content",
49 "ShortText"
50 ]
51 ],
52 [
53 1,
54 "Start groonga!"
55 ],
56 [
57 3,
58 "Start rroonga!"
59 ]
60 ]
61 ]
62 ]