Debian Codegraph @

doc/source/example/reference/tokenizers/token-ngram-report-source-location.log

raw
1 Execution example::
2
3 table_remove Terms
4 # [[0,1337566253.89858,0.000355720520019531],true]
5 table_create Terms TABLE_PAT_KEY ShortText \
6 --default_tokenizer 'TokenNgram("report_source_location", true)' \
7 --normalizer 'NormalizerNFKC100'
8 # [[0,1337566253.89858,0.000355720520019531],true]
9 column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
10 # [[0,1337566253.89858,0.000355720520019531],true]
11 select Entries \
12 --match_columns body \
13 --query 'グラム' \
14 --output_columns 'highlight_html(body, Terms)'
15 # [
16 # [
17 # 0,
18 # 1337566253.89858,
19 # 0.000355720520019531
20 # ],
21 # [
22 # [
23 # [
24 # 1
25 # ],
26 # [
27 # [
28 # "highlight_html",
29 # null
30 # ]
31 # ],
32 # [
33 # "ア<span class=\"keyword\">㌕</span>Az"
34 # ]
35 # ]
36 # ]
37 # ]