RE: [PHP] Searching Many Text Documents
| From: | Sebastian A. | Date: | Thu, 30 May 2002 05:55:48 +0000 |
| Subject: | RE: [PHP] Searching Many Text Documents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99855@lists.php.net to get a copy of this message | ||
Thanks a lot for this. I will try to implement this in my site. Does anyone
have any other suggestions?
-----Original Message-----
From: Miguel Cruz [mailto:mnc@stoic.net]
Sent: Wednesday, May 29, 2002 10:06 PM
To: Sebastian A.
Cc: PHP General List (PHP.NET)
Subject: Re: [PHP] Searching Many Text Documents
On Wed, 29 May 2002, Sebastian A. wrote:
> I recently have run into a situation where I must search through many text
> (XML) documents. I would like to implement a search feature on my site
that
> can search through the XML documents I use for my pages. I will probably
> need to search all the files in a specific directory for a certain term or
> keyword. Does anyone know how I can do this? And please remember, I need
to
> search through more than just 1 file.
To do it efficiently, you need to pre-index the documents. Rather than
starting from scratch, better to see if there's something already written
that can do it for you. For starters, have a look at:
http://www.mnogosearch.ru/
miguel