AFAIK you are right - MySQL treats a hypen as a word-break. And, AFAIK you 
cannot modify that behaviour.

The only possibility, I think, would be to modify the source and compile your 
own MySQL.  :-(

However if you do a full-text search using IN BOOLEAN MODE, then you can put 
quotes around hypenated words.

... MATCH (col_name) AGAINST ('"s-au"' IN BOOLEAN MODE) ...

HTH,
James Harvard

At 5:26 pm +0200 18/12/05, Octavian Rasnita wrote:
>Please tell me how can I configure MySQL 5 in order to be able to search 
>(using fulltext indexes) for combined words like "s-au".

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to