Monday, June 22, 2009

Install Apache Solr on Windows

Download and install lastest Java sdk

Download and install Tomcat 6

set JAVA_HOME and CATALINA_HOME env variables

download apache solr

Unzip and copy solr-.war to %CATALINA_HOME%/webapps/solr.war

Create Solr_Home where index will be stored ... for this create a JNDI entry solr/home

The easiest way is to copy 'solr' directory from the examples folder that came with your solr download.

start up tomcat and browse to http://localhost:8080/solr/

 

 

3 comments:

  1. how do i integrate the contributions to solr ?

    ReplyDelete
  2. Are you referring to the contrib modules in Solr?

    You would need to register the module with Solr by making an entry in solrconfig.xml

    The entry is in the form :

    <requestHandler name="MOD_NAME"
    class="CLASS_REF" >
    <lst name="defaults">
    <--module's config entries go here-->
    </lst>
    </requestHandler>

    some links that might help you :
    http://wiki.apache.org/solr/SolrRequestHandler
    http://wiki.apache.org/solr/DataImportHandler

    ReplyDelete
  3. Hi Ravindrabharathi,


    I am a Development Editor working with Packt. We are planning to publish book on Solr 1.4 Cookbook. I am looking for technical reviewers to provide feedback on the content of the book. It would be of great help, if you would be willing to take it up. Please visit http://www.packtpub.com/author_reviewing_for_packt for more details regarding reviewing.We will also like you to know that you will be receiving two copies of the book- one eBook or print copy of the book you review and an eBook of your choice from our catalog once it is published and your name will be credited as well.

    Please reply me at meetar@packtpub.com

    Thanks,
    Meeta

    ReplyDelete