| 1 |
table_create Tags TABLE_HASH_KEY ShortText |
| 2 |
table_create CopyValueWithWeight TABLE_HASH_KEY ShortText |
| 3 |
column_create CopyValueWithWeight source_tags COLUMN_VECTOR|WITH_WEIGHT Tags |
| 4 |
column_create CopyValueWithWeight destination_tags COLUMN_VECTOR|WITH_WEIGHT Tags |
| 5 |
|
| 6 |
load --table CopyValueWithWeight |
| 7 |
[ |
| 8 |
{ |
| 9 |
"_key": "Groonga is fast!!!", |
| 10 |
"source_tags": { |
| 11 |
"Groonga": 2, |
| 12 |
"full text search": 1 |
| 13 |
} |
| 14 |
} |
| 15 |
] |
| 16 |
|
| 17 |
column_copy CopyValueWithWeight source_tags CopyValueWithWeight destination_tags |
| 18 |
|
| 19 |
select CopyValueWithWeight |