Debian Codegraph @

test/command/suite/select/query/near_phrase/ngram.expected

raw
1 table_create Entries TABLE_NO_KEY
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 ShortText --default_tokenizer 'TokenNgram("unify_alphabet", false, "unify_digit", false)' --normalizer NormalizerNFKC121
6 [[0,0.0,0.0],true]
7 column_create Terms entries_content COLUMN_INDEX|WITH_POSITION Entries content
8 [[0,0.0,0.0],true]
9 load --table Entries
10 [
11 {"content": "abcXYZdef"},
12 {"content": "abebcdXYZdef"},
13 {"content": "abcdef"},
14 {"content": "defXYZabc"},
15 {"content": "XYZabc"},
16 {"content": "abc12345678901def"},
17 {"content": "abc1234567890def"},
18 {"content": "abc1de2def"}
19 ]
20 [[0,0.0,0.0],8]
21 select Entries --match_columns content --query '*NP"abc def"' --output_columns '_score, content'
22 [
23 [
24 0,
25 0.0,
26 0.0
27 ],
28 [
29 [
30 [
31 5
32 ],
33 [
34 [
35 "_score",
36 "Int32"
37 ],
38 [
39 "content",
40 "Text"
41 ]
42 ],
43 [
44 1,
45 "abcXYZdef"
46 ],
47 [
48 1,
49 "abcdef"
50 ],
51 [
52 1,
53 "defXYZabc"
54 ],
55 [
56 1,
57 "abc1234567890def"
58 ],
59 [
60 1,
61 "abc1de2def"
62 ]
63 ]
64 ]
65 ]