Debian Codegraph @

test/command/suite/select/function/in_values/with_index/value/vector.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tags COLUMN_VECTOR ShortText
6 [[0,0.0,0.0],true]
7 column_create Tags memos_tags COLUMN_INDEX Memos tags
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast", "tags": ["groonga", "full text search"]},
12 {"_key": "Mroonga is fast", "tags": ["mroonga", "mysql"]},
13 {"_key": "Rroonga is fast", "tags": ["rroonga", "ruby"]},
14 {"_key": "Droonga is fast", "tags": ["droonga", "ruby"]},
15 {"_key": "Groonga is a HTTP server", "tags": ["groonga", "http"]}
16 ]
17 [[0,0.0,0.0],5]
18 select Memos --output_columns _key,tags --filter 'in_values(tags, "groonga", "mroonga", "droonga")' --sortby _id
19 [
20 [
21 0,
22 0.0,
23 0.0
24 ],
25 [
26 [
27 [
28 4
29 ],
30 [
31 [
32 "_key",
33 "ShortText"
34 ],
35 [
36 "tags",
37 "ShortText"
38 ]
39 ],
40 [
41 "Groonga is fast",
42 [
43 "groonga",
44 "full text search"
45 ]
46 ],
47 [
48 "Mroonga is fast",
49 [
50 "mroonga",
51 "mysql"
52 ]
53 ],
54 [
55 "Droonga is fast",
56 [
57 "droonga",
58 "ruby"
59 ]
60 ],
61 [
62 "Groonga is a HTTP server",
63 [
64 "groonga",
65 "http"
66 ]
67 ]
68 ]
69 ]
70 ]