* do not use stopwords in fulltext search apparentyl there is a bug in innodb where including stopwords in a search causes the lookup to fail entirely. e.g. innodb_ft_enable_stopword must be disabled when the index is edited (rows are added/removed) * don't create a MATCH AGAINST search from empty search strings after sanitization * drop fulltext indizes for locale zhCN logographic languages need special treatment, which handling may differ by db provider * use LIKE search by default for locale zhCN. Added config option to use fulltext if supported by db.
5 lines
426 B
SQL
5 lines
426 B
SQL
ALTER TABLE `aowow_creature` ADD FULLTEXT `idx_name4` (`name_loc4`) WITH PARSER ngram;
|
|
ALTER TABLE `aowow_items` ADD FULLTEXT `idx_name4` (`name_loc4`) WITH PARSER ngram;
|
|
ALTER TABLE `aowow_objects` ADD FULLTEXT `idx_name4` (`name_loc4`) WITH PARSER ngram;
|
|
ALTER TABLE `aowow_quests` ADD FULLTEXT `idx_name4` (`name_loc4`) WITH PARSER ngram;
|
|
ALTER TABLE `aowow_spell` ADD FULLTEXT `idx_name4` (`name_loc4`) WITH PARSER ngram;
|