Debian Codegraph @

test/command/suite/select/query/match/with_index/sequential_text_key.test

raw
1 #$GRN_EXPR_OPTIMIZE=no
2 #$GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_TEXT=0.7
3
4 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram
5
6 table_create Memos TABLE_HASH_KEY ShortText
7
8 load --table Memos
9 [
10 {"_key": "Rroonga is fast!"},
11 {"_key": "Groonga is fast!"},
12 {"_key": "Mroonga is fast!"},
13 {"_key": "Groonga sticker!"},
14 {"_key": "Groonga is good!"}
15 ]
16
17 column_create Terms memos_body COLUMN_INDEX|WITH_POSITION Memos _key
18
19 log_level --level info
20 #@add-important-log-levels info
21 #@add-ignore-log-pattern /\A\[io\]/
22 select Memos --query '_id:>=3 _key:@"Groonga"' --output_columns _id,_score,_key
23 #@remove-ignore-log-pattern /\A\[io\]/
24 #@remove-important-log-levels info
25 log_level --level notice