Re: [PHP] Searching Many Text Documents

2002-05-29 Thread Miguel Cruz

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Searching Many Text Documents

2002-05-29 Thread Sebastian A.

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:[EMAIL PROTECTED]]
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php