| 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 --normalizer 'NormalizerNFKC100' |
| 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": "ア㌕Az"} |
| 14 |
] |
| 15 |
# [[0,1337566253.89858,0.000355720520019531],1] |
| 16 |
select Entries \ |
| 17 |
--match_columns body \ |
| 18 |
--query 'グラム' \ |
| 19 |
--output_columns 'highlight_html(body, Terms)' |
| 20 |
# [[0,1337566253.89858,0.000355720520019531],[[[0],[["highlight_html",null]]]]] |