Debian Codegraph @

test/command/suite/select/query/near_phrase/last/escaped.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 --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": "abc. def"},
12 {"content": "abebcd. def."},
13 {"content": "abc def."},
14 {"content": "def. abc"},
15 {"content": ". abc def"},
16 {"content": "abc 1 2 3 4 5 6 7 8 9 def."},
17 {"content": "abc 1 2 3 4 5 6 7 8 def."},
18 {"content": "abc 1 de 2 def."},
19 {"content": "abc efg$ def"}
20 ]
21 [[0,0.0,0.0],9]
22 select Entries --match_columns content --query '*NP"abc def efg\\\\$"' --output_columns '_score, content'
23 [
24 [
25 0,
26 0.0,
27 0.0
28 ],
29 [
30 [
31 [
32 1
33 ],
34 [
35 [
36 "_score",
37 "Int32"
38 ],
39 [
40 "content",
41 "Text"
42 ]
43 ],
44 [
45 1,
46 "abc efg$ def"
47 ]
48 ]
49 ]
50 ]