Debian Codegraph @

test/command/suite/select/query/quorum_match/default.expected

raw
1 table_create Paragraphs TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Paragraphs content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 table_create Words TABLE_PAT_KEY ShortText --default_tokenizer TokenDelimit --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Words index COLUMN_INDEX Paragraphs content
8 [[0,0.0,0.0],true]
9 load --table Paragraphs
10 [
11 {"content": "Groonga is a full text search engine"},
12 {"content": "Mroonga is a MySQL storage engine"},
13 {"content": "PGroonga is an full text search extension for PostgreSQL"},
14 {"content": "Rroonga is a Ruby bindings of GroongaL"}
15 ]
16 [[0,0.0,0.0],4]
17 select Paragraphs --match_columns content --query '*Q"search engine MySQL"' --output_columns content,_score
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 3
28 ],
29 [
30 [
31 "content",
32 "Text"
33 ],
34 [
35 "_score",
36 "Int32"
37 ]
38 ],
39 [
40 "Groonga is a full text search engine",
41 2
42 ],
43 [
44 "PGroonga is an full text search extension for PostgreSQL",
45 1
46 ],
47 [
48 "Mroonga is a MySQL storage engine",
49 2
50 ]
51 ]
52 ]
53 ]