Debian Codegraph @

test/command/suite/table_tokenize/index_column.test

raw
1 table_create Entries TABLE_NO_KEY
2 column_create Entries body COLUMN_SCALAR ShortText
3
4 table_create Terms TABLE_PAT_KEY ShortText \
5 --default_tokenizer TokenDelimit \
6 --normalizer NormalizerAuto
7
8 load --table Entries
9 [
10 {"body": "Groonga is a full text search engine"},
11 {"body": "Mroonga is a MySQL storage engine based on Groonga"},
12 {"body": "Rroonga is a ruby bindings of Groonga"}
13 ]
14
15 column_create Terms index COLUMN_INDEX Entries body
16
17 table_tokenize Terms "a ruby bindings of Groonga" --mode GET --index_column index