Debian Codegraph @

test/command/suite/select/match_escalation/yes.test

raw
1 table_create Memos TABLE_NO_KEY
2 column_create Memos content COLUMN_SCALAR Text
3
4 table_create Terms TABLE_PAT_KEY ShortText \
5 --default_tokenizer TokenBigram \
6 --normalizer NormalizerAuto
7 column_create Terms index COLUMN_INDEX|WITH_POSITION Memos content
8
9 load --table Memos
10 [
11 {"content": "Groonga is fast"},
12 {"content": "Groonga is the fastest"},
13 {"content": "Groonga is faster"},
14 {"content": "Groonga is not slow"}
15 ]
16
17 select Memos \
18 --filter 'true && content @ "fas"' \
19 --match_escalation yes \
20 --output_columns '*,_score'