Debian Codegraph @

test/command/suite/select/match_columns/section/by_column/4_items/descending.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos title COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos content COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Memos comment COLUMN_SCALAR ShortText
8 [[0,0.0,0.0],true]
9 column_create Memos category COLUMN_SCALAR ShortText
10 [[0,0.0,0.0],true]
11 table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
12 [[0,0.0,0.0],true]
13 column_create Lexicon memo_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos title,content,comment,category
14 [[0,0.0,0.0],true]
15 load --table Memos
16 [
17 ["title", "content", "comment", "category"],
18 ["Groonga", "Start Groonga!", "Groonga!", "Groonga"],
19 ["Mroonga", "Start Mroonga!", "Mroonga!", "Mroonga"],
20 ["Rroonga", "Start Rroonga!", "Rroonga!", "Rroonga"],
21 ["Ruby", "Start Ruby!", "Ruby!", "Ruby"],
22 ["learn", "Learning Ruby and Groonga...", "learn!", "learn"]
23 ]
24 [[0,0.0,0.0],5]
25 select Memos --match_columns category||comment||content||title --query Rroonga --output_columns "title, content, _score"
26 [
27 [
28 0,
29 0.0,
30 0.0
31 ],
32 [
33 [
34 [
35 1
36 ],
37 [
38 [
39 "title",
40 "ShortText"
41 ],
42 [
43 "content",
44 "ShortText"
45 ],
46 [
47 "_score",
48 "Int32"
49 ]
50 ],
51 [
52 "Rroonga",
53 "Start Rroonga!",
54 4
55 ]
56 ]
57 ]
58 ]