Debian Codegraph @

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