Debian Codegraph @

test/command/suite/table_tokenize/index_column.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries body COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 load --table Entries
8 [
9 {"body": "Groonga is a full text search engine"},
10 {"body": "Mroonga is a MySQL storage engine based on Groonga"},
11 {"body": "Rroonga is a ruby bindings of Groonga"}
12 ]
13 [[0,0.0,0.0],3]
14 column_create Terms index COLUMN_INDEX Entries body
15 [[0,0.0,0.0],true]
16 table_tokenize Terms "a ruby bindings of Groonga" --mode GET --index_column index
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 {
25 "value": "a",
26 "position": 0,
27 "force_prefix": false,
28 "force_prefix_search": false,
29 "estimated_size": 5
30 },
31 {
32 "value": "ruby",
33 "position": 1,
34 "force_prefix": false,
35 "force_prefix_search": false,
36 "estimated_size": 1
37 },
38 {
39 "value": "bindings",
40 "position": 2,
41 "force_prefix": false,
42 "force_prefix_search": false,
43 "estimated_size": 1
44 },
45 {
46 "value": "of",
47 "position": 3,
48 "force_prefix": false,
49 "force_prefix_search": false,
50 "estimated_size": 1
51 },
52 {
53 "value": "groonga",
54 "position": 4,
55 "force_prefix": false,
56 "force_prefix_search": false,
57 "estimated_size": 5
58 }
59 ]
60 ]