Debian Codegraph @

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