Re: [PHP] how to implement search on site

2008-11-14 Thread tedd

At 9:26 AM + 11/13/08, Jignesh Thummar wrote:

I have site of around 25 pages (pure HTML pages). I want to implement search
functionality? How can I? i want to avoid database. And Apache Lucene, i
dont't want to use it. Does any PHP framework provide search and indexing
functionality (Exception Zend_Lucene)?

Thanks,
Jignesh


Might consider this:

http://sperling.com/examples/search/

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



RE: [PHP] how to implement search on site

2008-11-14 Thread tedd

At 8:24 AM -0600 11/13/08, Boyd, Todd M. wrote:

If you're mainly worried about indexing public pages, why not implement
a Google custom search? They do all the heavy lifting--you just worry
about maintaining your website. All the same SEO you do for Google will
then apply to your website internally...


Todd Boyd
Web Programmer



I considered that, but it looked like to me to put a Google search 
into your site, they require ad space.


So, I use this:

http://sperling.com/examples/search/

They don't and it works pretty good.

Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

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



[PHP] how to implement search on site

2008-11-13 Thread Jignesh Thummar
I have site of around 25 pages (pure HTML pages). I want to implement search
functionality? How can I? i want to avoid database. And Apache Lucene, i
dont't want to use it. Does any PHP framework provide search and indexing
functionality (Exception Zend_Lucene)?

Thanks,
Jignesh


Re: [PHP] how to implement search on site

2008-11-13 Thread Richard Heyes
 I have site of around 25 pages (pure HTML pages). I want to implement search
 functionality? How can I? i want to avoid database. And Apache Lucene, i
 dont't want to use it. Does any PHP framework provide search and indexing
 functionality (Exception Zend_Lucene)?

Why avoid Zend_Lucene? You realise it doesn't require a database? When
I read about it (I haven't actually ised it, it seemed straight foward
to implement and use.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November 1st)

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



Re: [PHP] how to implement search on site

2008-11-13 Thread Jignesh Thummar
Zend_Lucene require lots of efforts? If i have to use DB? how can i do it?

- Jignesh

On Thu, Nov 13, 2008 at 9:30 AM, Richard Heyes [EMAIL PROTECTED] wrote:

  I have site of around 25 pages (pure HTML pages). I want to implement
 search
  functionality? How can I? i want to avoid database. And Apache Lucene, i
  dont't want to use it. Does any PHP framework provide search and indexing
  functionality (Exception Zend_Lucene)?

 Why avoid Zend_Lucene? You realise it doesn't require a database? When
 I read about it (I haven't actually ised it, it seemed straight foward
 to implement and use.

 --
 Richard Heyes

 HTML5 Graphing for FF, Chrome, Opera and Safari:
 http://www.rgraph.org (Updated November 1st)



Re: [PHP] how to implement search on site

2008-11-13 Thread Richard Heyes
 Zend_Lucene require lots of efforts?

Well like everything in life to get good results will mean you will
have to put some time in. But by no means an innordinate amount (I
would imagine). If you did then the Zend Framework wouldn't be so
good.

 If i have to use DB? how can i do it?

Zend_Lucene is file based - no database required. Therefore it's more
portable (plus it's all PHP based as I understand it) and has fewer
pre-requisites.

-- 
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November 1st)

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



Re: [PHP] how to implement search on site

2008-11-13 Thread Jignesh Thummar
Thanks Richard.

I have to try Zend_Lucene.

- Jignesh

On Thu, Nov 13, 2008 at 10:17 AM, Richard Heyes [EMAIL PROTECTED] wrote:

  Zend_Lucene require lots of efforts?

 Well like everything in life to get good results will mean you will
 have to put some time in. But by no means an innordinate amount (I
 would imagine). If you did then the Zend Framework wouldn't be so
 good.

  If i have to use DB? how can i do it?

 Zend_Lucene is file based - no database required. Therefore it's more
 portable (plus it's all PHP based as I understand it) and has fewer
 pre-requisites.

 --
 Richard Heyes

 HTML5 Graphing for FF, Chrome, Opera and Safari:
 http://www.rgraph.org (Updated November 1st)



RE: [PHP] how to implement search on site

2008-11-13 Thread Boyd, Todd M.
 -Original Message-
 From: Jignesh Thummar [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 13, 2008 6:07 AM
 To: Richard Heyes
 Cc: PHP-General List
 Subject: Re: [PHP] how to implement search on site
 
 Thanks Richard.
 
 I have to try Zend_Lucene.
 
 - Jignesh
 
 On Thu, Nov 13, 2008 at 10:17 AM, Richard Heyes [EMAIL PROTECTED]
 wrote:
 
   Zend_Lucene require lots of efforts?
 
  Well like everything in life to get good results will mean you will
  have to put some time in. But by no means an innordinate amount (I
  would imagine). If you did then the Zend Framework wouldn't be so
  good.
 
   If i have to use DB? how can i do it?
 
  Zend_Lucene is file based - no database required. Therefore it's
more
  portable (plus it's all PHP based as I understand it) and has fewer
  pre-requisites.

If you're mainly worried about indexing public pages, why not implement
a Google custom search? They do all the heavy lifting--you just worry
about maintaining your website. All the same SEO you do for Google will
then apply to your website internally...


Todd Boyd
Web Programmer

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