2006-11-28 23:30:33 -05:00
|
|
|
# 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
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
|
2006-01-29 18:54:58 -05:00
|
|
|
Welcome to the Apache Solr project!
|
|
|
|
-----------------------------------
|
|
|
|
|
2006-11-28 18:18:07 -05:00
|
|
|
Apache Solr is a search server based on the Apache Lucene search
|
2006-11-30 12:47:03 -05:00
|
|
|
library.
|
|
|
|
|
|
|
|
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.
|
2006-01-29 18:54:58 -05:00
|
|
|
|
|
|
|
For a complete description of the Solr project, team composition, source
|
|
|
|
code repositories, and other details, please see the Solr incubation web site at
|
|
|
|
http://incubator.apache.org/projects/solr.html.
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-15 14:53:10 -05:00
|
|
|
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
|
|
|
|
-------------------------------------------
|
|
|
|
|
|
|
|
dist/apache-solr-XX-incubating.war
|
|
|
|
The Apache Solr Application. Deploy this WAR file to any servlet
|
|
|
|
container to run Apache Solr
|
|
|
|
|
|
|
|
dist/apache-solr-XX-incubating.jar
|
|
|
|
The Apache Solr Libraries. This JAR file is needed to compile
|
|
|
|
Apache Solr Plugins (see http://wiki.apache.org/solr/SolrPlugins for
|
|
|
|
more information).
|
|
|
|
|
|
|
|
example/
|
|
|
|
A Self contained example Solr instance, complete with sample
|
|
|
|
configuration, documents to index, and the Jetty Servlet container.
|
|
|
|
Please see example/README.txt for information about runnig this example
|
|
|
|
|
|
|
|
docs/index.html
|
|
|
|
The contents of the Apache Solr website.
|
|
|
|
|
|
|
|
docs/api/index.html
|
|
|
|
The Apache Solr Javadoc API documentation.
|
|
|
|
|
|
|
|
src/
|
|
|
|
The Apache Solr source code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Instructions for Building Apache Solr from Source
|
|
|
|
-------------------------------------------------
|
2006-01-29 18:54:58 -05:00
|
|
|
|
|
|
|
1. Download the J2SE 5.0 JDK (Java Development Kit) or later from http://java.sun.com.
|
|
|
|
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 http://ant.apache.org.
|
|
|
|
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.
|
|
|
|
|
2006-12-15 14:53:10 -05:00
|
|
|
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:
|
|
|
|
http://incubator.apache.org/solr/version_control.html
|
2006-01-29 18:54:58 -05:00
|
|
|
|
|
|
|
4. Navigate to that folder and issue an "ant" command to see the available options
|
2006-11-28 18:18:07 -05:00
|
|
|
for building, testing, and packaging solr.
|
2006-12-14 15:28:30 -05:00
|
|
|
|
|
|
|
NOTE:
|
|
|
|
To see solr in action you may want to use the command "ant example".
|
|
|
|
This builds and packages solar into the example/webapps, then
|
|
|
|
follow example/README.txt.
|