Debian Codegraph @

test/command/suite/dump/record/weight_vector_reference.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 load --table Memos
8 [
9 {
10 "_key": "Groonga is fast",
11 "tags": {
12 "groonga": 100,
13 "full text search": 10
14 }
15 }
16 ]
17 [[0,0.0,0.0],1]
18 dump
19 table_create Memos TABLE_HASH_KEY ShortText
20
21 table_create Tags TABLE_PAT_KEY ShortText
22
23 column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT Tags
24
25 load --table Tags
26 [
27 ["_key"],
28 ["full text search"],
29 ["groonga"]
30 ]
31
32 load --table Memos
33 [
34 ["_key","tags"],
35 ["Groonga is fast",{"groonga":100,"full text search":10}]
36 ]