Debian Codegraph @

test/command/suite/delete/reference/with_index/weight.test

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 table_create Memos TABLE_HASH_KEY ShortText
3 column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT Tags
4 column_create Tags memos_tags COLUMN_INDEX|WITH_WEIGHT Memos tags
5
6 load --table Memos
7 [
8 {"_key": "Groonga", "tags": {"Groonga": 100, "Full text search": 2}},
9 {"_key": "Rroonga", "tags": {"Groonga": 5, "Ruby": 100, "Library": 50}}
10 ]
11
12 delete Tags Ruby
13 dump