Debian Codegraph @

test/command/suite/select/query/near_phrase_product/and.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": "c * 3"},
12 {"content": "a * 7 * 8 * 9 * x"},
13 {"content": "a * b * 1 * x * * 9 * y"},
14 {"content": "x y z"}
15 ]
16 [[0,0.0,0.0],4]
17 select Entries --match_columns content --query '*NPP1"(a b c) (1 2 3)" *NPP1"(7 8 9) (x y z)"' --output_columns '_score, content'
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 1
28 ],
29 [
30 [
31 "_score",
32 "Int32"
33 ],
34 [
35 "content",
36 "Text"
37 ]
38 ],
39 [
40 2,
41 "a * b * 1 * x * * 9 * y"
42 ]
43 ]
44 ]
45 ]