Debian Codegraph @

test/command/suite/column_create/vector/source/offline/single.test

raw
1 table_create Terms TABLE_PAT_KEY ShortText \
2 --normalizer NormalizerNFKC121 \
3 --default_tokenizer TokenNgram
4
5 table_create Notes TABLE_NO_KEY
6 column_create Notes title COLUMN_SCALAR Text
7
8 load --table Notes
9 [
10 {"title": "Hello Groonga"},
11 {"title": " "}
12 ]
13
14 column_create Notes title_terms COLUMN_VECTOR Terms title
15
16 select Notes \
17 --query _id:2 \
18 --output_columns title_terms
19
20 dump
21
22 column_create Terms notes_title COLUMN_INDEX|WITH_POSITION Notes title
23 index_column_diff Terms notes_title