Debian Codegraph @

test/command/suite/select/env/overlap_token_skip/one.test

raw
1 #$GRN_II_OVERLAP_TOKEN_SKIP_ENABLE=yes
2
3 table_create Entries TABLE_NO_KEY
4 column_create Entries body COLUMN_SCALAR ShortText
5
6 table_create Terms TABLE_PAT_KEY ShortText \
7 --default_tokenizer TokenBigram \
8 --normalizer NormalizerAuto
9
10 load --table Entries
11 [
12 {"body": "HongKong"}
13 ]
14
15 column_create Terms index COLUMN_INDEX|WITH_POSITION Entries body
16
17 table_tokenize Terms "HongKong" --index_column index
18
19 log_level --level debug
20 #@add-important-log-levels debug
21 #@add-ignore-log-pattern /\A\[io\]/
22 select Entries --filter 'body @ "HongKong"'
23 #@remove-ignore-log-pattern /\A\[io\]/
24 #@remove-important-log-levels debug
25 log_level --level notice