Debian Codegraph @

test/command/suite/delete/reference/with_index/weight.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 column_create Tags memos_tags COLUMN_INDEX|WITH_WEIGHT Memos tags
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga", "tags": {"Groonga": 100, "Full text search": 2}},
12 {"_key": "Rroonga", "tags": {"Groonga": 5, "Ruby": 100, "Library": 50}}
13 ]
14 [[0,0.0,0.0],2]
15 delete Tags Ruby
16 [[0,0.0,0.0],true]
17 dump
18 table_create Memos TABLE_HASH_KEY ShortText
19
20 table_create Tags TABLE_PAT_KEY ShortText
21
22 column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT Tags
23
24 load --table Memos
25 [
26 ["_key","tags"],
27 ["Groonga",{"Groonga":100,"Full text search":2}],
28 ["Rroonga",{"Groonga":5,"Library":50}]
29 ]
30
31 column_create Tags memos_tags COLUMN_INDEX|WITH_WEIGHT Memos tags