Answer the question
In order to leave comments, you need to log in
mysql adding "-" to character list
There was a need for full-text search to search for words with a dash (by default, the "-" character is a logical operator and is not considered a character).
The manual says:
Modify a character set file: This requires no recompilation. The true_word_char() macro uses a “character type” table to distinguish letters and numbers from other characters.. You can edit the contents in one of the character set XML files to specify that '-' is a “letter.” Then use the given character set for your FULLTEXT indexes.
But Google doesn’t know where this character set file is located :( Has anyone encountered a similar one?
Thank you
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question