Debian Codegraph @

test/command/suite/select/match_columns/section/by_name/prefix/weight.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 tags COLUMN_VECTOR ShortText
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"title": "Groonga", "tags": ["Groonga"]},
10 {"title": "Rroonga", "tags": ["Groonga", "Rroonga", "Ruby"]},
11 {"title": "Mroonga", "tags": ["Groonga", "Mroonga", "MySQL"]}
12 ]
13 [[0,0.0,0.0],3]
14 table_create Terms TABLE_PAT_KEY ShortText
15 [[0,0.0,0.0],true]
16 column_create Terms index COLUMN_INDEX|WITH_SECTION Memos title,tags
17 [[0,0.0,0.0],true]
18 select Memos --match_columns "Terms.index.title * 2" --query 'G*' --output_columns title,tags,_score
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 1
29 ],
30 [
31 [
32 "title",
33 "ShortText"
34 ],
35 [
36 "tags",
37 "ShortText"
38 ],
39 [
40 "_score",
41 "Int32"
42 ]
43 ],
44 [
45 "Groonga",
46 [
47 "Groonga"
48 ],
49 2
50 ]
51 ]
52 ]
53 ]