Hi!

On Aug 17, Grzegorz wrote:
> Hi.
> 
> I'd like to know is it safe to tune mysql-4.0.2/myisam/ft_parser.c
> 
> #define true_word_char(X)       (isalnum(X) || (X)=='_')
> 
> to
> 
> #define true_word_char(X)     (isgraph(X) && (X)!='@')

Not really. The parser won't recognize boolean search operators then.
So, it's better to exclude them from true_word_char().

> Or is anywhere better place to redefine chars which are "accepted" by fulltext 
>search ?

Unfortunately, not yet.

Regards,
Sergei

-- 
MySQL Development Team
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to