Debian Codegraph @

test/command/suite/select/query_expander/column/vector/normalize.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|KEY_NORMALIZE ShortText
10 [[0,0.0,0.0],true]
11 column_create Synonyms words COLUMN_VECTOR ShortText
12 [[0,0.0,0.0],true]
13 load --table Memos
14 [
15 ["content"],
16 ["Start groonga!"],
17 ["Start rroonga!"],
18 ["Start Ruby and groonga!"]
19 ]
20 [[0,0.0,0.0],3]
21 load --table Synonyms
22 [
23 ["_key", "words"],
24 ["Ruby", ["Ruby", "rroonga"]]
25 ]
26 [[0,0.0,0.0],1]
27 select --table Memos --query_expander Synonyms.words --match_columns content --query ruby
28 [
29 [
30 0,
31 0.0,
32 0.0
33 ],
34 [
35 [
36 [
37 2
38 ],
39 [
40 [
41 "_id",
42 "UInt32"
43 ],
44 [
45 "content",
46 "ShortText"
47 ]
48 ],
49 [
50 3,
51 "Start Ruby and groonga!"
52 ],
53 [
54 2,
55 "Start rroonga!"
56 ]
57 ]
58 ]
59 ]