| 1 |
Execution example:: |
| 2 |
|
| 3 |
table_create Site TABLE_HASH_KEY ShortText |
| 4 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 5 |
column_create Site title COLUMN_SCALAR ShortText |
| 6 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 7 |
table_create BigramLexicon TABLE_PAT_KEY ShortText \ |
| 8 |
--default_tokenizer TokenBigram \ |
| 9 |
--normalizer NormalizerAuto |
| 10 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 11 |
column_create BigramLexicon site_title COLUMN_INDEX|WITH_POSITION \ |
| 12 |
Site title |
| 13 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 14 |
table_create RegexpLexicon TABLE_PAT_KEY ShortText \ |
| 15 |
--default_tokenizer TokenRegexp \ |
| 16 |
--normalizer NormalizerAuto |
| 17 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 18 |
column_create RegexpLexicon site_title COLUMN_INDEX|WITH_POSITION \ |
| 19 |
Site title |
| 20 |
# [[0,1337566253.89858,0.000355720520019531],true] |
| 21 |
reindex Site.title |
| 22 |
# [[0,1337566253.89858,0.000355720520019531],true] |