| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create Foods TABLE_NO_KEY |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create Foods name COLUMN_SCALAR Text |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
table_create Keywords TABLE_PAT_KEY ShortText --default_tokenizer 'TokenPattern("pattern", "Apple|Orange")' |
| 8 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 9 |
column_create Keywords index COLUMN_INDEX Foods name |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
load --table Foods |
| 12 |
[ |
| 13 |
{"name": "Apple Pie"}, |
| 14 |
{"name": "Orange Pie"} |
| 15 |
{"name": "Raspberry Pie"} |
| 16 |
] |
| 17 |
# [[0,1337566253.89858,0.000355720520019531],3] |