Re: To add search in my page
- From: sliverdigger <sliverdigger@xxxxxxxxxxxx>
- Date: Fri, 05 Sep 2008 07:33:42 -0600
lak wrote:
I want to search within my page. How can I do that. When I searched in
the net, it tells to use the google search. But I want to do for my
web page. I am using intra-net system.
Zend has a port of Java Lucene that works very well.
Creating the index can be slow, especially if you are--for instance--indexing thousands of pages in a forum. So slow it
will time out on a shared-host.
You can write a small utility in java, which runs as an
application on the shared host. You will need to upload
the latest lucene.jar. Zend's php Lucene doesn't know
the index was made with java, and the queries work just fine.
Or you can download the search-source to a desktop box,
bump max execution time on your local php.ini and then
make the index with php locally....and then ftp it up
to the shared host.
If you have your own server, none of the above is your
problem. The searches are plenty fast enough and they give
very good results. You'll have to read the tutorials and
roll your own results display. But that isn't hard.
--
cut the board three times and it's still too short
.
- References:
- To add search in my page
- From: lak
- To add search in my page
- Prev by Date: Re: Shelling without waiting
- Next by Date: I need a class PEAR
- Previous by thread: Re: To add search in my page
- Next by thread: Re: To add search in my page
- Index(es):
Relevant Pages
|