Debian Codegraph @

test/command/suite/select/env/overlap_token_skip/short.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries body COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigramSplitSymbolAlpha --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 load --table Entries
8 [
9 {"body": "HongKong"}
10 ]
11 [[0,0.0,0.0],1]
12 column_create Terms index COLUMN_INDEX|WITH_POSITION Entries body
13 [[0,0.0,0.0],true]
14 table_tokenize Terms "HongKong" --index_column index
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 {
23 "value": "ho",
24 "position": 0,
25 "force_prefix": false,
26 "force_prefix_search": false,
27 "estimated_size": 1
28 },
29 {
30 "value": "on",
31 "position": 1,
32 "force_prefix": false,
33 "force_prefix_search": false,
34 "estimated_size": 3
35 },
36 {
37 "value": "ng",
38 "position": 2,
39 "force_prefix": false,
40 "force_prefix_search": false,
41 "estimated_size": 3
42 },
43 {
44 "value": "gk",
45 "position": 3,
46 "force_prefix": false,
47 "force_prefix_search": false,
48 "estimated_size": 1
49 },
50 {
51 "value": "ko",
52 "position": 4,
53 "force_prefix": false,
54 "force_prefix_search": false,
55 "estimated_size": 1
56 },
57 {
58 "value": "on",
59 "position": 5,
60 "force_prefix": false,
61 "force_prefix_search": false,
62 "estimated_size": 3
63 },
64 {
65 "value": "ng",
66 "position": 6,
67 "force_prefix": false,
68 "force_prefix_search": false,
69 "estimated_size": 3
70 }
71 ]
72 ]
73 log_level --level debug
74 [[0,0.0,0.0],true]
75 select Entries --filter 'body @ "HongKong"'
76 [[0,0.0,0.0],[[[1],[["_id","UInt32"],["body","ShortText"]],[1,"HongKong"]]]]
77 #|d| [ii][overlap_token_skip] tid=3 pos=0 estimated_size=1
78 #|d| [ii][overlap_token_skip] tid=6 pos=1 estimated_size=3
79 #|d| [ii][overlap_token_skip] tid=2 pos=3 estimated_size=1
80 #|d| [ii][overlap_token_skip] tid=4 pos=4 estimated_size=1
81 #|d| [ii][overlap_token_skip] tid=5 pos=6 estimated_size=3
82 log_level --level notice
83 [[0,0.0,0.0],true]