| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create LooseItems TABLE_HASH_KEY ShortText --normalizer NormalizerAuto |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create LooseItems label COLUMN_SCALAR ShortText |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
column_create LooseItems readings COLUMN_VECTOR Readings |
| 8 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 9 |
column_create Readings loose_items_index COLUMN_INDEX LooseItems readings |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
load --table LooseItems |
| 12 |
[ |
| 13 |
{"_key": "日本", "label": "日本", "readings": ["ニホン", "ニッポン"]}, |
| 14 |
{"_key": "ローマ字", "label": "ローマ字", "readings": ["ローマジ"]}, |
| 15 |
{"_key": "漢字", "label": "漢字", "readings": ["カンジ"]}, |
| 16 |
{"_key": "Nihon", "label": "日本", "readings": []} |
| 17 |
] |
| 18 |
# [[0,1337566253.89858,0.000355720520019531],4] |