Debian Codegraph @

test/command/suite/select/query_expander/column/index/vector.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 SynonymGroups TABLE_NO_KEY
10 [[0,0.0,0.0],true]
11 column_create SynonymGroups synonyms COLUMN_VECTOR ShortText
12 [[0,0.0,0.0],true]
13 table_create Synonyms TABLE_PAT_KEY ShortText
14 [[0,0.0,0.0],true]
15 column_create Synonyms group COLUMN_INDEX SynonymGroups synonyms
16 [[0,0.0,0.0],true]
17 load --table Memos
18 [
19 ["content"],
20 ["Start groonga!"],
21 ["Start mroonga!"],
22 ["Start rroonga!"],
23 ["Start Ruby!"],
24 ["Learning Ruby and groonga..."]
25 ]
26 [[0,0.0,0.0],5]
27 load --table SynonymGroups
28 [
29 ["synonyms"],
30 [["rroonga", "rroonga"]],
31 [["Ruby groonga", "rroonga"]]
32 ]
33 [[0,0.0,0.0],2]
34 select --table Memos --query_expander Synonyms.group --match_columns content --query rroonga
35 [
36 [
37 0,
38 0.0,
39 0.0
40 ],
41 [
42 [
43 [
44 2
45 ],
46 [
47 [
48 "_id",
49 "UInt32"
50 ],
51 [
52 "content",
53 "ShortText"
54 ]
55 ],
56 [
57 3,
58 "Start rroonga!"
59 ],
60 [
61 5,
62 "Learning Ruby and groonga..."
63 ]
64 ]
65 ]
66 ]