| 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": "abc12345678901def"} |
| 12 |
] |
| 13 |
[[0,0.0,0.0],1] |
| 14 |
select Entries --match_columns content --query '*NP12,0,,11"abc def"' --output_columns '_score, content' |
| 15 |
[ |
| 16 |
[ |
| 17 |
0, |
| 18 |
0.0, |
| 19 |
0.0 |
| 20 |
], |
| 21 |
[ |
| 22 |
[ |
| 23 |
[ |
| 24 |
1 |
| 25 |
], |
| 26 |
[ |
| 27 |
[ |
| 28 |
"_score", |
| 29 |
"Int32" |
| 30 |
], |
| 31 |
[ |
| 32 |
"content", |
| 33 |
"Text" |
| 34 |
] |
| 35 |
], |
| 36 |
[ |
| 37 |
1, |
| 38 |
"abc12345678901def" |
| 39 |
] |
| 40 |
] |
| 41 |
] |
| 42 |
] |