Search This Blog

Tuesday, September 20, 2016

STEPS FOR INSTALLING AND CONFIGURING THE APACHE SOLR IN TOMCAT x.x

STEPS FOR INSTALLING AND CONFIGURING THE APACHE SOLR
====================================================


1. copy the solr.war file and place into somewhere in the machine

2. copy the 'solr' folder which contains all cores , and place into some where in machine

3. add 'solr.xml' file  in "tomcat server\conf\Cataline\localhost\"

example: X:\apache-tomcat-8.0.32\conf\Catalina\localhost\solr.xml

4. in 'solr.xml' file we have to specify the path of 'solr.war' and 'solr' folder of cores.

           a)docBase for 'solr.war'  file
           b)environment value for 'solr' folder of cores


solr.xml
---------------



 

-------------



5. Run the tomcat server

  ex:localhost:8080

6. Run the solr admin console

  ex:localhost:8080/solr


7. You will get dashboard of 'solr'  and left side of main page you will get all the cores, which we have from 'solr' folder as specified point number 2.

8. the select the 'query result' and 'execute'



NOTE: Core we have to create manually  , and index the data with datatype manually into each cores.


by
naren


No comments:

Hit Counter


View My Stats