Hi..
Rewrite it as:

WHERE MATCH (some_text_field) AGAINST ('"red pepper"' IN BOOLEAN MODE) AND
MATCH (some_text_field) AGAINST ("green bean"' IN BOOLEAN MODE);

Gurhan

-----Original Message-----
From: Vadim P. [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 12:07 PM
To: [EMAIL PROTECTED]
Subject: Re: FULLTEXT search pattern syntax


Of course, I forgot to mention 'IN BOOLEAN MODE'.

...
 MATCH (some_text_field) AGAINST ('("red pepper") ("green bean")' IN BOOLEAN
MODE)
...

>
"Vadim P." wrote:
>
> Hi,
>
> It's not quite clear from the manual, but it appears that queries with
> FULLTEXT search patterns like this:
>
> MATCH (some_text_field) AGAINST ('("red pepper") ("green bean")')
>
> don't produce the result desired, that is, multiple ".." elements are not
> allowed, with or without parentheses...
>
> Could someone confirm, please?
>
> On a general note, it would be nice to have the formal syntax of FT search
> patterns in the manual.
>
> TIA,
> Vadim.
>
> [sql query - to satisfy the darn spam filter]
>
> ---------------------------------------------------------------------
> 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

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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