Flat 10% & upto 40% off + 10% Cashback + Free additional Courses. Hurry up

Introduction and Installation Of Apache Solr

Introduction of Apache Solr


Apache Solr is an open source search server. SOLR tasks depend on the full text search engine known as Apache Lucene. In simple words SOLR is an HTTP wrapper along with an inverted index that is offered by the Lucene. The inverted index can be defined as a list of words and each word- entry links to the documents where it exists. The SOLR had been used in many of the enterprise projects. There is no need of Java code for SOLR in enterprise projects, even though Java itself has to be installed.

Installation Of Apache Solr

Apache Solr installation is suitable in the  JRE (Java runtime environment)

Check whether Java is installed on your system using the below command

 $ java  -version

If installed, you can see the below output.

java version “1.7.0_55”

Java(TM) SE Runtime Environment (build 1.7.0_55-b13)

 Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

Else, download and install the Java  software from the following link:

And, download the Solr  from below link.

Steps to install the Apache Solr.

  1. You can unload the Solr distribution  to your preferred
  2. Stop the Java servlet container.
  3. Copy the solr.war file from the Solr distribution to the web apps directory of our servlet container .
  4. Copy the Solr Home directory solr-4.x.0/example/solr/ from the distribution to our preferred Solr Home location.
  5. Start our servlet container, passing to it the location of  our Solr Home in one of these ways:
  • Set the Java system property solr.solr.home to our Solr Home.
  • Configure the servlet container so that a JNDI lookup of java:comp/env/solr/home by the Solr webapp will point to our Solr Home.
  • Start the servlet container in the directory containing ./solr: the default Solr Home is solr under the JVM’s current working directory ($CWD/solr).

Steps to run the Solr:

 1.Start the server by using this command

$ java -jar start.jar

2.Start the web server

C:\Applications\Solr\example > start.bat

3.Check the solr with the following  URL on the browser.



"0 Responses on Introduction and Installation Of Apache Solr"

Leave a Message

100% Secure Payments. All major credit & debit cards accepted Or Pay by Paypal.

Sales Offer

  • To avail this offer, enroll before 24th April 2018.
  • This offer cannot be combined with any other offer.
  • This offer is valid on selected courses only.
  • Please use coupon codes mentioned below to avail the offer

Sign Up or Login to view the Free Introduction and Installation Of Apache Solr.