Apache Solr Documentation

6.5 Ref Guide (PDF Download)
Solr Tutorial
Solr Community Wiki

Older Versions of this Guide (PDF)

6.6 Draft Ref Guide Topics


This Unreleased Guide Covers Apache Solr 6.6
As of 5 May 2017, committer editing of this Ref Guide is LOCKED for migration to the new Ref Guide. See SOLR-10290 for details.

Skip to end of metadata
Go to start of metadata

Solr uses Jetty internally to power its HTTP stack, but beginning with Solr 5.0, Support for deploying Solr as a WAR in standalone servlet containers like Jetty is no longer supported.

For information on how to install Solr as a standalone server, please see Installing Solr.




  • No labels


  1. Another way to override the default port is to specify the following system property on the command line


    This is useful in testing situations where you want to run multiple solr instances to test core or collection configurations without modify the jetty config

  2. "Installing Solr" link is inactive.

    1. Thanks Emmanuel, I fixed the link.

  3. How to set a safely login on jetty?

    1. 1.modify “server\etc\jetty.xml

      <Call name="addBean">


              <New class="org.eclipse.jetty.security.HashLoginService">

                <Set name="name">Test Realm</Set>

                <Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>

                <Set name="refreshInterval">0</Set>


            </Arg> </Call>

      2. create /etc/realm.properties add 

      admin: admin123,core

      3.modify server\etc\webdefault.xml



            <web-resource-name>Solr authenticated application</web-resource-name>










          <realm-name>Test Realm</realm-name>


      then restart solr