Debian Codegraph @

test/command/suite/select/query/match/with_index/token_table/same.test

raw
1 table_create Menus TABLE_NO_KEY
2 column_create Menus name COLUMN_SCALAR Text
3
4 table_create Keywords TABLE_PAT_KEY ShortText \
5 --normalizer NormalizerNFKC100 \
6 --default_tokenizer 'TokenTable("table", "Keywords")'
7 column_create Keywords index COLUMN_INDEX Menus name
8
9 load --table Keywords
10 [
11 {"_key": "焼肉"}
12 ]
13
14 load --table Menus
15 [
16 {"name": "焼肉定食"}
17 ]
18
19 select Menus --match_columns name --query "焼肉弁当"