Debian Codegraph @

test/command/suite/column_create/vector/source/online/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 column_create Notes title_terms COLUMN_VECTOR Terms title
8
9 load --table Notes
10 [
11 {"title": "Hello Groonga"},
12 {"title": " "}
13 ]
14
15 select Notes \
16 --query _id:2 \
17 --output_columns title_terms
18
19 dump
20
21 column_create Terms notes_title COLUMN_INDEX|WITH_POSITION Notes title
22 index_column_diff Terms notes_title