| 1 |
table_create Entries TABLE_NO_KEY |
| 2 |
column_create Entries body COLUMN_SCALAR ShortText |
| 3 |
|
| 4 |
table_create Terms TABLE_PAT_KEY ShortText \ |
| 5 |
--default_tokenizer 'TokenNgram("loose_symbol", true, \ |
| 6 |
"report_source_location", true)' \ |
| 7 |
--normalizer 'NormalizerNFKC100' |
| 8 |
column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body |
| 9 |
|
| 10 |
load --table Entries |
| 11 |
[ |
| 12 |
{"body": "?"} |
| 13 |
] |
| 14 |
|
| 15 |
select Entries \ |
| 16 |
--match_columns body \ |
| 17 |
--query '?' \ |
| 18 |
--match_escalation no \ |
| 19 |
--output_columns 'highlight_html(body, Terms)' |