Debian Codegraph @

test/command/suite/select/query/adjust/increase/multiple_weight.test

raw
1 table_create Memos TABLE_NO_KEY
2 column_create Memos title COLUMN_SCALAR ShortText
3 column_create Memos content COLUMN_SCALAR ShortText
4
5 table_create Terms TABLE_PAT_KEY ShortText \
6 --default_tokenizer TokenBigram \
7 --normalizer NormalizerAuto
8 column_create Terms index COLUMN_INDEX|WITH_POSITION|WITH_SECTION Memos title,content
9
10 load --table Memos
11 [
12 {"title": "Groonga", "content": "Groonga is a full text search engine."},
13 {"title": "Rroonga", "content": "Rroonga is the Ruby bindings of Groonga."},
14 {"title": "Mroonga", "content": "Mroonga is a MySQL storage engine based of Groonga."}
15 ]
16
17 select Memos \
18 --query '>5title:@Groonga >3content:@full' \
19 --output_columns 'title,content,_score'
20