Debian Codegraph @

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

raw
1 table_create Entries TABLE_NO_KEY
2 column_create Entries body COLUMN_SCALAR ShortText
3
4 table_create Terms TABLE_PAT_KEY ShortText \
5 --default_tokenizer 'TokenNgram("report_source_location", true)' \
6 --normalizer 'NormalizerNFKC150("report_source_offset", true)'
7 column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
8
9 load --table Entries
10 [
11 {"body": "Groonga 高速!"}
12 ]
13
14 select Entries --output_columns \
15 --match_columns body --query '高' \
16 --output_columns 'highlight_html(body, Terms)'