bing
Flat 10% & upto 50% off + Free additional Courses. Hurry up!

Introduction and Installation Of Apache Solr

Introduction of Apache Solr

pic2

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:

http://www.oracle.com/technetwork/java/javase/downloads/index.html.

And, download the Solr  from below link.

http://lucene.apache.org/solr/.

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.

http://localhost:8983/solr/

pic2

"0 Responses on Introduction and Installation Of Apache Solr"

Leave a Message

Your email address will not be published.

Training in Cities

Bangalore, Hyderabad, Chennai, Delhi, Kolkata, UK, London, Chicago, San Francisco, Dallas, Washington, New York, Orlando, Boston

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

top

Sales Offer

  • To avail this offer, enroll before 05th December 2016.
  • 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
offer-june

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