Re: To add search in my page



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
.



Relevant Pages

  • Re: RSaspproxyapplet
    ... "JGlacier" wrote in message ... I'm running into more instances where I click on a link in a website and ... A Google search with that term suggests it is from an MSDN sample. ... So it probably depends on you having the MS Java VM. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: TMS-- The Stephanie Birkitt Show: Table Talk -- (10/2/06)
    ... Java, let me know. ... Perhaps a Google search will find it. ... The other fix for Mac users specifically is to use Firefox instead of ... It's a pain, and Jay & the LS boys know it's a pain. ...
    (alt.fan.letterman)
  • Re: Java URL
    ... you are wanting to store? ... It should return a google search results of "Java". ...
    (comp.lang.java.help)
  • Win 32 classes: Damaged
    ... This has something to do with Java. ... did a Google search. ... All the posts were old, ... (still debating whether going from W2k to XP was an upgrade) ...
    (microsoft.public.windowsxp.newusers)