Debian Codegraph @

test/command/suite/select/query_expander/column/index/self_reference.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 representative COLUMN_SCALAR Synonyms
12 [[0,0.0,0.0],true]
13 column_create Synonyms group COLUMN_INDEX Synonyms representative
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 ["Learning Ruby and groonga..."]
23 ]
24 [[0,0.0,0.0],5]
25 load --table Synonyms
26 [
27 ["_key", "representative"],
28 ["rroonga", "rroonga"],
29 ["Ruby groonga", "rroonga"]
30 ]
31 [[0,0.0,0.0],2]
32 select --table Memos --query_expander Synonyms.group --match_columns content --query rroonga
33 [
34 [
35 0,
36 0.0,
37 0.0
38 ],
39 [
40 [
41 [
42 2
43 ],
44 [
45 [
46 "_id",
47 "UInt32"
48 ],
49 [
50 "content",
51 "ShortText"
52 ]
53 ],
54 [
55 3,
56 "Start rroonga!"
57 ],
58 [
59 5,
60 "Learning Ruby and groonga..."
61 ]
62 ]
63 ]
64 ]