| 1 |
table_create Data TABLE_NO_KEY |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
column_create Data content COLUMN_SCALAR ShortText |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
load --table Data |
| 6 |
[ |
| 7 |
{"content": "hello world"}, |
| 8 |
{"content": "It's an apple"} |
| 9 |
] |
| 10 |
[[0,0.0,0.0],2] |
| 11 |
table_create Terms TABLE_PAT_KEY ShortText --normalizers NormalizerNFKC150 --default_tokenizer TokenNgram |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
column_create Terms data_content COLUMN_INDEX|WITH_POSITION Data content |
| 14 |
[[0,0.0,0.0],true] |
| 15 |
select Data --filter 'query_parallel_or(["content"], "a")' --match_escalation_threshold -1 |
| 16 |
[[0,0.0,0.0],[[[0],[["_id","UInt32"],["content","ShortText"]]]]] |
| 17 |
select Data --filter 'query_parallel_or(["content"], "a")' |
| 18 |
[ |
| 19 |
[ |
| 20 |
0, |
| 21 |
0.0, |
| 22 |
0.0 |
| 23 |
], |
| 24 |
[ |
| 25 |
[ |
| 26 |
[ |
| 27 |
1 |
| 28 |
], |
| 29 |
[ |
| 30 |
[ |
| 31 |
"_id", |
| 32 |
"UInt32" |
| 33 |
], |
| 34 |
[ |
| 35 |
"content", |
| 36 |
"ShortText" |
| 37 |
] |
| 38 |
], |
| 39 |
[ |
| 40 |
2, |
| 41 |
"It's an apple" |
| 42 |
] |
| 43 |
] |
| 44 |
] |
| 45 |
] |