| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create Entries TABLE_NO_KEY |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create Entries body COLUMN_SCALAR ShortText |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto |
| 8 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 9 |
column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
load --table Entries |
| 12 |
[ |
| 13 |
{"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."} |
| 14 |
] |
| 15 |
# [[0,1337566253.89858,0.000355720520019531],1] |