Debian Codegraph @

test/command/suite/plugin_unregister/existence.test

raw
1 #$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{db_directory}/synonyms.tsv
2 #@copy-path fixture/query_expander/tsv/expand.tsv #{db_directory}/synonyms.tsv
3 plugin_register "query_expanders/tsv"
4
5 table_create Memos TABLE_NO_KEY
6 column_create Memos content COLUMN_SCALAR ShortText
7
8 load --table Memos
9 [
10 ["content"],
11 ["Start Rroonga!"],
12 ["Start Ruby and Groonga!"]
13 ]
14
15 select --table Memos --query_expander QueryExpanderTSV \
16 --match_columns content --query rroonga
17
18 plugin_unregister "query_expanders/tsv"
19
20 select --table Memos --query_expander QueryExpanderTSV \
21 --match_columns content --query rroonga