Re: Advanced search scripts
| From: | Adam Royle | Date: | Wed, 09 Oct 2002 10:54:29 +0000 |
| Subject: | Re: Advanced search scripts | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22286@lists.php.net to get a copy of this message | ||
Well, for this example, you could use mySQL, but really, I would be looking to utilise this on any database. Personally, I don't think this would be database dependent (unless you have other ideas).
Adam
On Wednesday, October 9, 2002, at 08:46 PM, John W. Holmes wrote:
What database are you using? ---John Holmes...-----Original Message----- From: Adam Royle [mailto:ifunk@myrealbox.com] Sent: Wednesday, October 09, 2002 2:09 AM To: php-db@lists.php.net Subject: [PHP-DB] Advanced search scripts I was wondering if anyone has some resources (links or scripts) on 'advanced site searches'. Something that is similar to the way regular search engines process requests. ie. "phrase or two" word +required -"not included" Also, returning details of that search, say for example returning 10wordsbefore and 10 words after and displaying it in search results. Theabilityto search similar words (eg. ignoring punctuation) would be coolaswell.I am interested in this for database (all text fields), and alsosearchingtext files on filesystem. Now, I'm not trying to recreate Google or anything, and this is justformy own research (at this time), but I eventually would like to be abletocreate a smarter site searching engine. Can anyone give suggestions? or any links to tutorials (or books) I have used regex a little bit before, but not in PHP (only ASP and JavaScript). Adam