Debian Codegraph @

test/command/suite/select/query/ordered_near_phrase/max_interval.expected

raw
1 table_create Memos TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key":"alphabets1", "content": "a b c d e . g"},
12 {"_key":"alphabets2", "content": "a b c d e f x g . h"},
13 {"_key":"alphabets3", "content": "a b c d e f x x g . h"}
14 ]
15 [[0,0.0,0.0],3]
16 select --table Memos --match_columns content --query '*ONP3"e g ."' --output_columns _score,_key,content
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 1
27 ],
28 [
29 [
30 "_score",
31 "Int32"
32 ],
33 [
34 "_key",
35 "ShortText"
36 ],
37 [
38 "content",
39 "ShortText"
40 ]
41 ],
42 [
43 1,
44 "alphabets2",
45 "a b c d e f x g . h"
46 ]
47 ]
48 ]
49 ]