Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Mirror of Apache Solr


# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# See the License for the specific language governing permissions and
# limitations under the License.

Welcome to the Apache Solr project!

Apache Solr is a search server based on the Apache Lucene search

Apache Solr is an effort undergoing incubation at The Apache Software
Foundation (ASF), sponsored by Apache Lucene. Incubation is required of all
newly accepted projects until a further review indicates that the
infrastructure, communications, and decision making process have stabilized in
a manner consistent with other successful ASF projects. While incubation status
is not necessarily a reflection of the completeness or stability of the code,
it does indicate that the project has yet to be fully endorsed by the ASF.

For a complete description of the Solr project, team composition, source
code repositories, and other details, please see the Solr incubation web site at

Getting Started

See the "example" directory for an example Solr setup.  A tutorial
using the example setup can be found in "docs/tutorial.html" 

Files Included In Apache Solr Distributions

  The Apache Solr Application.  Deploy this WAR file to any servlet
  container to run Apache Solr

  The Apache Solr Libraries.  This JAR file is needed to compile
  Apache Solr Plugins (see for
  more information).

  A self-contained example Solr instance, complete with a sample
  configuration, documents to index, and the Jetty Servlet container.
  Please see example/README.txt for information about running this example

  The contents of the Apache Solr website.
  The Apache Solr Javadoc API documentation.

  The Apache Solr source code.

Instructions for Building Apache Solr from Source

1. Download the J2SE 5.0 JDK (Java Development Kit) or later from
   You will need the JDK installed, and the %JAVA_HOME%\bin directory included
   on your command path.  To test this, issue a "java -version" command from your
   shell and verify that the Java version is 5.0 or later.

2. Download the Apache Ant binary distribution from
   You will need Ant installed and the %ANT_HOME%\bin directory included on your
   command path.  To test this, issue a "ant -version" command from your
   shell and verify that Ant is available.

3. Download the Apache Solr distribution, linked from the above incubator
   web site.  Expand the distribution to a folder of your choice, e.g. c:\solr.   
   Alternately, you can obtain a copy of the latest Apache Solr source code
   directly from the Subversion repository:

4. Navigate to that folder and issue an "ant" command to see the available options
   for building, testing, and packaging Solr.
   To see Solr in action you may want to use the "ant example" command to build
   and package Solr into the example/webapps directory. See also example/README.txt.
Something went wrong with that request. Please try again.