Debian Codegraph @

test/command/suite/select/query/adjust/negative/default.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 ~Ruby' --output_columns 'content, _score, _id' --sort_keys -_score,_id
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 3
27 ],
28 [
29 [
30 "content",
31 "ShortText"
32 ],
33 [
34 "_score",
35 "Int32"
36 ],
37 [
38 "_id",
39 "UInt32"
40 ]
41 ],
42 [
43 "Groonga is a full text search engine.",
44 1,
45 1
46 ],
47 [
48 "Mroonga is a MySQL storage engine based of Groonga.",
49 1,
50 3
51 ],
52 [
53 "Rroonga is the Ruby bindings of Groonga.",
54 -3,
55 2
56 ]
57 ]
58 ]
59 ]