Debian Codegraph @

test/command/suite/select/function/snippet_html/vector/empty.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries title COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 column_create Entries contents COLUMN_VECTOR ShortText
6 [[0,0.0,0.0],true]
7 table_create Tokens TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
8 [[0,0.0,0.0],true]
9 column_create Tokens entries_title COLUMN_INDEX|WITH_POSITION Entries title
10 [[0,0.0,0.0],true]
11 column_create Tokens entries_contents COLUMN_INDEX|WITH_SECTION|WITH_POSITION Entries contents
12 [[0,0.0,0.0],true]
13 load --table Entries
14 [
15 {"title": "Groonga and MySQL", "contents": []}
16 ]
17 [[0,0.0,0.0],1]
18 select Entries --output_columns 'snippet_html(contents), contents' --match_columns 'title' --query Groonga
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 1
29 ],
30 [
31 [
32 "snippet_html",
33 null
34 ],
35 [
36 "contents",
37 "ShortText"
38 ]
39 ],
40 [
41 null,
42 []
43 ]
44 ]
45 ]
46 ]