Debian Codegraph @

test/command/suite/select/query/adjust/increase/weight.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Terms index COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"content": "Groonga is a full text search engine."},
12 {"content": "Rroonga is the Ruby bindings of Groonga."},
13 {"content": "Mroonga is a MySQL storage engine based of Groonga."}
14 ]
15 [[0,0.0,0.0],3]
16 select Memos --match_columns content --query 'Groonga >0.1Ruby' --columns[score].stage filtered --columns[score].flags COLUMN_SCALAR --columns[score].type Float32 --columns[score].value _score --output_columns 'content,score' --sort_keys -score,_id
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 1
27 ],
28 [
29 [
30 "content",
31 "ShortText"
32 ],
33 [
34 "score",
35 "Float32"
36 ]
37 ],
38 [
39 "Rroonga is the Ruby bindings of Groonga.",
40 2.1
41 ]
42 ]
43 ]
44 ]