Debian Codegraph @

test/command/suite/select/drilldowns/keys/one/reference_weight_vector.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT Tags
6 [[0,0.0,0.0],true]
7 column_create Memos date COLUMN_SCALAR Time
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast!", "tags": {"full-text-search": 100}, "date": "2014-11-16 00:00:00"},
12 {"_key": "Mroonga is fast!", "tags": {"mysql": 100, "full-text-search": 80}, "date": "2014-11-16 00:00:00"},
13 {"_key": "Groonga sticker!", "tags": {"full-text-search": 100, "sticker": 10}, "date": "2014-11-16 00:00:00"},
14 {"_key": "Rroonga is fast!", "tags": {"full-text-search": 100, "ruby": 20}, "date": "2014-11-17 00:00:00"},
15 {"_key": "Groonga is good!", "tags": {"full-text-search": 100}, "date": "2014-11-17 00:00:00"}
16 ]
17 [[0,0.0,0.0],5]
18 select Memos --drilldowns[tags].keys tags --drilldowns[tags].output_columns _key,_nsubrecs
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 5
29 ],
30 [
31 [
32 "_id",
33 "UInt32"
34 ],
35 [
36 "_key",
37 "ShortText"
38 ],
39 [
40 "date",
41 "Time"
42 ],
43 [
44 "tags",
45 "Tags"
46 ]
47 ],
48 [
49 1,
50 "Groonga is fast!",
51 1416063600.0,
52 {
53 "full-text-search": 100
54 }
55 ],
56 [
57 2,
58 "Mroonga is fast!",
59 1416063600.0,
60 {
61 "mysql": 100,
62 "full-text-search": 80
63 }
64 ],
65 [
66 3,
67 "Groonga sticker!",
68 1416063600.0,
69 {
70 "full-text-search": 100,
71 "sticker": 10
72 }
73 ],
74 [
75 4,
76 "Rroonga is fast!",
77 1416150000.0,
78 {
79 "full-text-search": 100,
80 "ruby": 20
81 }
82 ],
83 [
84 5,
85 "Groonga is good!",
86 1416150000.0,
87 {
88 "full-text-search": 100
89 }
90 ]
91 ],
92 {
93 "tags": [
94 [
95 4
96 ],
97 [
98 [
99 "_key",
100 "ShortText"
101 ],
102 [
103 "_nsubrecs",
104 "Int32"
105 ]
106 ],
107 [
108 "full-text-search",
109 5
110 ],
111 [
112 "mysql",
113 1
114 ],
115 [
116 "sticker",
117 1
118 ],
119 [
120 "ruby",
121 1
122 ]
123 ]
124 }
125 ]
126 ]