Debian Codegraph @

test/command/suite/dump/record/table_tokenizer_index_column.expected

raw
1 table_create Queries TABLE_HASH_KEY UInt32
2 [[0,0.0,0.0],true]
3 table_create Words TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
4 [[0,0.0,0.0],true]
5 column_create Queries content COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Words index COLUMN_INDEX Queries content
8 [[0,0.0,0.0],true]
9 column_create Words boost COLUMN_SCALAR UInt32
10 [[0,0.0,0.0],true]
11 load --table Queries
12 [
13 {"_key":1, "content":"Sports Soccer"},
14 {"_key":2, "content":"Variety Money"},
15 {"_key":3, "content":"IT Server groonga"},
16 {"_key":4, "content":"Sports Baseball"},
17 {"_key":5, "content":"Variety Quiz"},
18 {"_key":6, "content":"Animation Pikonyan"},
19 {"_key":7, "content":"Animation Raccoon"},
20 {"_key":8, "content":"Animation Music"}
21 ]
22 [[0,0.0,0.0],8]
23 dump
24 table_create Queries TABLE_HASH_KEY UInt32
25 column_create Queries content COLUMN_SCALAR ShortText
26
27 table_create Words TABLE_HASH_KEY ShortText --default_tokenizer TokenDelimit
28 column_create Words boost COLUMN_SCALAR UInt32
29
30 load --table Queries
31 [
32 ["_key","content"],
33 [1,"Sports Soccer"],
34 [2,"Variety Money"],
35 [3,"IT Server groonga"],
36 [4,"Sports Baseball"],
37 [5,"Variety Quiz"],
38 [6,"Animation Pikonyan"],
39 [7,"Animation Raccoon"],
40 [8,"Animation Music"]
41 ]
42
43 load --table Words
44 [
45 ["_key","boost"],
46 ["Sports",0],
47 ["Soccer",0],
48 ["Variety",0],
49 ["Money",0],
50 ["IT",0],
51 ["Server",0],
52 ["groonga",0],
53 ["Baseball",0],
54 ["Quiz",0],
55 ["Animation",0],
56 ["Pikonyan",0],
57 ["Raccoon",0],
58 ["Music",0]
59 ]
60
61 column_create Words index COLUMN_INDEX Queries content