Debian Codegraph @

test/command/suite/select/query_flags/allow_leading_not.expected

raw
1 table_create Entries TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Entries content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
6 [[0,0.0,0.0],true]
7 column_create Terms entries_content_index COLUMN_INDEX|WITH_POSITION Entries content
8 [[0,0.0,0.0],true]
9 load --table Entries
10 [
11 {"_key": "The first post!",
12 "content": "Welcome! This is my first post!"},
13 {"_key": "Groonga",
14 "content": "I started to use groonga. It's very fast!"},
15 {"_key": "Mroonga",
16 "content": "I also started to use mroonga. It's also very fast! Really fast!"},
17 {"_key": "Good-bye Senna",
18 "content": "I migrated all Senna system!"},
19 {"_key": "Good-bye Tritonn",
20 "content": "I also migrated all Tritonn system!"}
21 ]
22 [[0,0.0,0.0],5]
23 select Entries --output_columns '_key,content,_score' --match_columns content --query '-fast' --query_flags ALLOW_LEADING_NOT --sort_keys _key
24 [
25 [
26 0,
27 0.0,
28 0.0
29 ],
30 [
31 [
32 [
33 3
34 ],
35 [
36 [
37 "_key",
38 "ShortText"
39 ],
40 [
41 "content",
42 "Text"
43 ],
44 [
45 "_score",
46 "Int32"
47 ]
48 ],
49 [
50 "Good-bye Senna",
51 "I migrated all Senna system!",
52 1
53 ],
54 [
55 "Good-bye Tritonn",
56 "I also migrated all Tritonn system!",
57 1
58 ],
59 [
60 "The first post!",
61 "Welcome! This is my first post!",
62 1
63 ]
64 ]
65 ]
66 ]