Debian Codegraph @

test/command/suite/select/function/highlight_html/lexicon/loose.test

raw
1
2 table_create Entries TABLE_NO_KEY
3 column_create Entries body COLUMN_SCALAR ShortText
4
5 table_create Terms TABLE_PAT_KEY ShortText \
6 --default_tokenizer 'TokenNgram("loose_symbol", true, \
7 "report_source_location", true)' \
8 --normalizer 'NormalizerNFKC100'
9 column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
10
11 load --table Entries
12 [
13 {"body": "(あいうえお)"}
14 ]
15
16 select Entries \
17 --match_columns body \
18 --query 'いうえお' \
19 --output_columns 'highlight_html(body, Terms)'
20