Debian Codegraph @

test/command/suite/select/query/near_phrase/last/additional_last_interval/positive.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 ."},
12 {"_key":"alphabets2", "content": "a b c d e ."},
13 {"_key":"alphabets3", "content": "a b x c d e ."}
14 ]
15 [[0,0.0,0.0],3]
16 select --table Memos --match_columns content --query '*NP3,1"a c .$"' --output_columns _score,_key,content
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 2
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 "alphabets1",
45 "a b c d ."
46 ],
47 [
48 1,
49 "alphabets2",
50 "a b c d e ."
51 ]
52 ]
53 ]
54 ]