| 1 |
table_create Entries TABLE_NO_KEY |
| 2 |
column_create Entries content COLUMN_SCALAR Text |
| 3 |
|
| 4 |
table_create Terms TABLE_PAT_KEY ShortText \ |
| 5 |
--default_tokenizer 'TokenNgram("unify_alphabet", false, \ |
| 6 |
"unify_digit", false)' \ |
| 7 |
--normalizer NormalizerNFKC121 |
| 8 |
column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content |
| 9 |
|
| 10 |
load --table Entries |
| 11 |
[ |
| 12 |
{"content": "abc123456789def"} |
| 13 |
] |
| 14 |
|
| 15 |
select Entries \ |
| 16 |
--match_columns content \ |
| 17 |
--query '*NP-1,0,,-7"abc123456 bc1234567"' \ |
| 18 |
--output_columns '_score, content' |