Debian Codegraph @

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

raw
1 #$GRN_EXPR_OPTIMIZE=no
2 #$GRN_II_SELECT_TOO_MANY_INDEX_MATCH_RATIO_REFERENCE=0.7
3
4 table_create Tags TABLE_HASH_KEY ShortText
5
6 table_create Memos TABLE_HASH_KEY ShortText
7 column_create Memos tags COLUMN_VECTOR Tags
8
9 load --table Memos
10 [
11 {"_key": "Rroonga is fast!", "tags": ["Rroonga"]},
12 {"_key": "Groonga is fast!", "tags": ["Groonga"]},
13 {"_key": "Mroonga is fast!", "tags": ["Mroonga"]},
14 {"_key": "Groonga sticker!", "tags": ["Groonga", "Sticker"]},
15 {"_key": "Groonga is good!", "tags": ["Groonga", "Groonga"]}
16 ]
17
18 column_create Tags memos_tags COLUMN_INDEX Memos tags
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 tags:@Groonga' --output_columns _id,_score,_key,tags
24 #@remove-ignore-log-pattern /\A\[io\]/
25 #@remove-important-log-levels info
26 log_level --level notice