You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by StanleyTan <st...@hotmail.com> on 2009/05/26 03:37:49 UTC

New user in lucene

hi all, 
 
i'm new to lucene. will like to ask, am i able to integrate lucene search 
into my normal html pages, not web applications? meaning just viewing of
html pages and searching for them using lucene. using javascript or java
applet. 

if possible, how am i able to do that? help will be very much appreciated 
-- 
View this message in context: http://www.nabble.com/New-user-in-lucene-tp23715663p23715663.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: New user in lucene

Posted by Alexander Aristov <al...@gmail.com>.
As I said try Solr. It has web interface which can give you ideas. There is
no reason to complete it here in email. If you know Java you will quickly
catch up with.

Best Regards
Alexander Aristov


2009/5/26 StanleyTan <st...@hotmail.com>

>
>
> Hi Alexander,
>
> thanks for your advise. but im thinking how am i suppose to integrate in?
> because i tried to google, and after d/ling the zip folder from lucene
> site.
> i see the files, i do not know how to integrate in. oh man, im lost.
> sorry, but can u guide me on how to integrate into html page?
>
> --
> View this message in context:
> http://www.nabble.com/New-user-in-lucene-tp23715663p23717804.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: New user in lucene

Posted by KK <di...@gmail.com>.
Hi Stanley,
As Alexander correctly mentioned, you should first try your hands with
Solr[which uses Lucene at the backend] keeping you away/free from all the
nitty-gritty.
First get the Solr running, making sure your are able to post/index
documents in it and also able to search it from the solr admin interface. I
must say that the solr home page mentions everything for getting started on
Solr. If you still need help you can google out or may be have a look on
these links,
# http://www.ibm.com/developerworks/java/library/j-solr1/
  --- this article is very good, I hope it wil solve your problem, at least
it will get you started
#
http://justin-hayes.com/2009-04-08/installing-apache-tomcat-6-and-solr-nightly-on-ubuntu-804
  -- this is ubuntu specific running in tomcat

First you have to decide the container, the simplest one is obiviously
Apache Tomcat. Get that running. Have a look here,
# www.devx.com/webdev/Article/16416
-- for windows
# www.eglug.org/book/export/html/1630
 -- for linux

Once you have tomcat running deploy the solr war as given is Solr wiki/home
page and try to acces the sole admin page from the browser.

Once its up and you have indexed some pages then you have to decide how to
integrate it with html pages. So for that you have to decide on client side
scripting. If you know Javascript and say php/jsp then you can get started.
First write some php codes through which you can talk to Solr[solr has
support for communicating with PHP using solr-php-client],
have a look here,
http://wiki.apache.org/*solr*/Integrating*Solr
*  this shows how to integrate solr. Now call the methods on that PHP page
running at the server side from the javascript code in the client side and
do whatever you watn with the results.
Hope this will get you started. If you need more information you can always
post in in this mailing list.

HTH
KK

On Tue, May 26, 2009 at 12:39 PM, StanleyTan <st...@hotmail.com>wrote:

>
>
> Hi Alexander,
>
> thanks for your advise. but im thinking how am i suppose to integrate in?
> because i tried to google, and after d/ling the zip folder from lucene
> site.
> i see the files, i do not know how to integrate in. oh man, im lost.
> sorry, but can u guide me on how to integrate into html page?
>
> --
> View this message in context:
> http://www.nabble.com/New-user-in-lucene-tp23715663p23717804.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: New user in lucene

Posted by StanleyTan <st...@hotmail.com>.

Hi Alexander, 

thanks for your advise. but im thinking how am i suppose to integrate in?
because i tried to google, and after d/ling the zip folder from lucene site.
i see the files, i do not know how to integrate in. oh man, im lost. 
sorry, but can u guide me on how to integrate into html page?

-- 
View this message in context: http://www.nabble.com/New-user-in-lucene-tp23715663p23717804.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: New user in lucene

Posted by Alexander Aristov <al...@gmail.com>.
>From my point of view the best option for you would be using Solr. You can
integrate it with any web app/html page

Alexander


2009/5/26 StanleyTan <st...@hotmail.com>

>
> hi all,
>
> i'm new to lucene. will like to ask, am i able to integrate lucene search
> into my normal html pages, not web applications? meaning just viewing of
> html pages and searching for them using lucene. using javascript or java
> applet.
>
> if possible, how am i able to do that? help will be very much appreciated
> --
> View this message in context:
> http://www.nabble.com/New-user-in-lucene-tp23715663p23715663.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>