RE: [PHP] Boolean Search Interpreter
| From: | John W. Holmes | Date: | Fri, 11 Oct 2002 23:49:12 +0000 |
| Subject: | RE: [PHP] Boolean Search Interpreter | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119702@lists.php.net to get a copy of this message | ||
It may be better to just let your database handle it. I know MySQL
supports Boolean fulltext searches (in 4.0, I think), and I'm sure
others do too.
---John Holmes...
> -----Original Message-----
> From: SpamSucks86 [mailto:spamsucks86@comcast.net]
> Sent: Friday, October 11, 2002 7:13 PM
> To: php-general@lists.php.net
> Subject: [PHP] Boolean Search Interpreter
>
> Is there an algorithm in PHP or pseudo-code, or any other language
that
> could help me write an algorithm to take a Boolean search string and
> parse it and convert it into SQL? I can convert it to SQL just fine, I
> just need help parsing the string and figuring out what they want
(AND,
> NOT, OR). Thanks for any and all help!