| 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 |
| 6 |
column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content |
| 7 |
|
| 8 |
load --table Entries |
| 9 |
[ |
| 10 |
{"content": "a(x]b"}, |
| 11 |
{"content": "a[xx)b"}, |
| 12 |
{"content": "a[x)b"}, |
| 13 |
{"content": "a(xx]b"} |
| 14 |
] |
| 15 |
|
| 16 |
select Entries \ |
| 17 |
--match_columns content \ |
| 18 |
--query '*NPP1"([ \\\\() (] \\\\))"' \ |
| 19 |
--output_columns '_score, content' |