Debian Codegraph @

test/command/suite/index_column_diff/text_vector.test

raw
1 table_create Data TABLE_NO_KEY
2 column_create Data values COLUMN_VECTOR Text
3
4 table_create Terms TABLE_PAT_KEY ShortText \
5 --default_tokenizer TokenNgram \
6 --normalizer NormalizerNFKC100
7 column_create Terms data_index COLUMN_INDEX|WITH_POSITION|WITH_SECTION \
8 Data values
9
10 load --table Data
11 [
12 {"values": ["Hello World", "Good-by World"]},
13 {"values": ["Hello Groonga", "Good-by Groonga"]}
14 ]
15
16 truncate Terms.data_index
17
18 load --table Data
19 [
20 {"values": ["Morning World", "Afternoon World"]},
21 {"values": ["Morning Groonga", "Afternoon World"]}
22 ]
23
24 index_column_diff Terms data_index