Debian Codegraph @

test/command/suite/index_column_diff/key.test

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