O'Reilly logo

Apache Solr Beginner's Guide by Alfredo Serafini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – starting Solr for the first time

Ok, now it's time to start Solr for the first time.

  1. If we execute the following command from the terminal (from Windows, Linux, or Mac):
    >> cd %SOLR_DIST% (windows) 
    >> cd $SOLR_DIST (mac, linux)
    
  2. We change the directory to /example, and then we finally start Solr using the following command:
    >> java -jar start.jar
    
  3. We should obtain an output similar to the one seen in the following screenshot:
    Time for action – starting Solr for the first time
  4. You will quickly become familiar with the line highlighted in this output as it is easily recognizable (it ends in 0.0.0.0:8983). If we have not noticed any errors before it in the output, our Solr instance is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required