test/command/suite/select/output/value/weight_vector/reference_xml.test
raw| 1 | table_create Tags TABLE_PAT_KEY ShortText |
| 2 | |
| 3 | table_create Memos TABLE_HASH_KEY ShortText |
| 4 | column_create Memos tags COLUMN_VECTOR|WITH_WEIGHT Tags |
| 5 | |
| 6 | load --table Memos |
| 7 | [ |
| 8 | { |
| 9 | "_key": "Mroonga is fast", |
| 10 | "tags": { |
| 11 | "mroonga": 100, |
| 12 | "groonga": 10 |
| 13 | } |
| 14 | } |
| 15 | ] |
| 16 | |
| 17 | select Memos \ |
| 18 | --output_type xml \ |
| 19 | --output_columns _key,tags |