Debian Codegraph @

test/command/suite/select/query/similar/threshold.expected

raw
1 table_create Diaries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Diaries 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 diaries_content COLUMN_INDEX|WITH_POSITION Diaries content
8 [[0,0.0,0.0],true]
9 load --table Diaries
10 [
11 {"content": "a a a b b c d e f g h i j k"}
12 ]
13 [[0,0.0,0.0],1]
14 select --table Diaries --match_columns content --query '*S2"a b c"' --output_columns content,_score --sortby _id
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 [
23 [
24 1
25 ],
26 [
27 [
28 "content",
29 "ShortText"
30 ],
31 [
32 "_score",
33 "Int32"
34 ]
35 ],
36 [
37 "a a a b b c d e f g h i j k",
38 2097155
39 ]
40 ]
41 ]
42 ]