Debian Codegraph @

test/command/suite/select/slices/output_columns.expected

raw
1 table_create Memos TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
4 [[0,0.0,0.0],true]
5 column_create Terms memos_key COLUMN_INDEX|WITH_POSITION Memos _key
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "Groonga is fast!"},
10 {"_key": "Mroonga is fast!"},
11 {"_key": "Groonga sticker!"},
12 {"_key": "Rroonga is fast!"}
13 ]
14 [[0,0.0,0.0],4]
15 select Memos --slices[groonga].match_columns '_key' --slices[groonga].query 'Groonga' --slices[groonga].output_columns '_key, highlight_html(_key)'
16 [
17 [
18 0,
19 0.0,
20 0.0
21 ],
22 [
23 [
24 [
25 4
26 ],
27 [
28 [
29 "_id",
30 "UInt32"
31 ],
32 [
33 "_key",
34 "ShortText"
35 ]
36 ],
37 [
38 1,
39 "Groonga is fast!"
40 ],
41 [
42 2,
43 "Mroonga is fast!"
44 ],
45 [
46 3,
47 "Groonga sticker!"
48 ],
49 [
50 4,
51 "Rroonga is fast!"
52 ]
53 ],
54 {
55 "groonga": [
56 [
57 2
58 ],
59 [
60 [
61 "_key",
62 "ShortText"
63 ],
64 [
65 "highlight_html",
66 null
67 ]
68 ],
69 [
70 "Groonga is fast!",
71 "<span class=\"keyword\">Groonga</span> is fast!"
72 ],
73 [
74 "Groonga sticker!",
75 "<span class=\"keyword\">Groonga</span> sticker!"
76 ]
77 ]
78 }
79 ]
80 ]