| 1 |
table_create Memos TABLE_HASH_KEY ShortText |
| 2 |
column_create Memos tags COLUMN_VECTOR ShortText |
| 3 |
|
| 4 |
load --table Memos |
| 5 |
[ |
| 6 |
{"_key": "Groonga is fast!", "tags": ["Groonga"]}, |
| 7 |
{"_key": "Mroonga is fast!", "tags": ["Mroonga", "Groonga"]}, |
| 8 |
{"_key": "Groonga sticker!", "tags": ["Groonga"]}, |
| 9 |
{"_key": "Rroonga is fast!", "tags": ["Rroonga", "Groonga"]}, |
| 10 |
{"_key": "Groonga is good!", "tags": ["Groonga"]} |
| 11 |
] |
| 12 |
|
| 13 |
select Memos \ |
| 14 |
--limit 0 \ |
| 15 |
--output_columns _id \ |
| 16 |
--drilldown tags \ |
| 17 |
--drilldown_output_columns _key,_nsubrecs \ |
| 18 |
--drilldown_sortby -_nsubrecs,_id |