Debian Codegraph @

test/command/suite/column_create/vector/source/offline/parallel.expected

raw
1 table_create Terms TABLE_PAT_KEY ShortText --normalizer NormalizerNFKC121 --default_tokenizer TokenNgram
2 [[0,0.0,0.0],true]
3 table_create Notes TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Notes title COLUMN_SCALAR Text
6 [[0,0.0,0.0],true]
7 load --table Notes
8 [
9 {"title": "Hello Groonga"},
10 {"title": " "},
11 {"title": "Hello Mroonga"},
12 {"title": "Hello Rroonga"}
13 ]
14 [[0,0.0,0.0],4]
15 column_create Notes title_terms COLUMN_VECTOR Terms title
16 [[0,0.0,0.0],true]
17 select Notes --query _id:2 --output_columns title_terms
18 [[0,0.0,0.0],[[[1],[["title_terms","Terms"]],[[]]]]]
19 dump
20 table_create Notes TABLE_NO_KEY
21 column_create Notes title COLUMN_SCALAR Text
22
23 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC121
24
25 column_create Notes title_terms COLUMN_VECTOR Terms title
26
27 load --table Terms
28 [
29 ["_key"],
30 ["groonga"],
31 ["hello"],
32 ["mroonga"],
33 ["rroonga"]
34 ]
35
36 load --table Notes
37 [
38 ["_id","title"],
39 [1,"Hello Groonga"],
40 [2," "],
41 [3,"Hello Mroonga"],
42 [4,"Hello Rroonga"]
43 ]
44 column_create Terms notes_title COLUMN_INDEX|WITH_POSITION Notes title
45 [[0,0.0,0.0],true]
46 index_column_diff Terms notes_title
47 [[0,0.0,0.0],[]]