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