Debian Codegraph @

test/command/suite/select/query/match/with_index/sequential_text_column.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_NO_KEY
7 column_create Memos body COLUMN_SCALAR ShortText
8
9 load --table Memos
10 [
11 {"body": "Rroonga is fast!"},
12 {"body": "Groonga is fast!"},
13 {"body": "Mroonga is fast!"},
14 {"body": "Groonga sticker!"},
15 {"body": "Groonga is good!"}
16 ]
17
18 column_create Terms memos_body COLUMN_INDEX|WITH_POSITION Memos body
19
20 log_level --level info
21 #@add-important-log-levels info
22 #@add-ignore-log-pattern /\A\[io\]/
23 select Memos --query '_id:>=3 body:@"Groonga"' --output_columns _id,_score,body
24 #@remove-ignore-log-pattern /\A\[io\]/
25 #@remove-important-log-levels info
26 log_level --level notice