mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Upgrade Apache Solr to 4.5.0 and PySolr to 3.1.0.
All Solr indexes will need to be re-created.
This commit is contained in:
parent
e88e6a31a0
commit
436b86b234
10423
java/solr/CHANGES.txt
10423
java/solr/CHANGES.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,117 +1,120 @@
|
||||
# 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.
|
||||
|
||||
|
||||
Welcome to the Apache Solr project!
|
||||
-----------------------------------
|
||||
|
||||
Solr is the popular, blazing fast open source enterprise search platform
|
||||
from the Apache Lucene project.
|
||||
|
||||
For a complete description of the Solr project, team composition, source
|
||||
code repositories, and other details, please see the Solr web site at
|
||||
http://lucene.apache.org/solr
|
||||
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
See the "example" directory for an example Solr setup. A tutorial
|
||||
using the example setup can be found at
|
||||
http://lucene.apache.org/solr/tutorial.html
|
||||
or in in "docs/tutorial.html" in a binary distribution.
|
||||
|
||||
|
||||
|
||||
Files included in an Apache Solr binary distribution
|
||||
----------------------------------------------------
|
||||
|
||||
example/
|
||||
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.
|
||||
|
||||
dist/apache-solr-XX.war
|
||||
The Apache Solr Application. Deploy this WAR file to any servlet
|
||||
container to run Apache Solr.
|
||||
|
||||
dist/apache-solr-XX.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).
|
||||
|
||||
docs/index.html
|
||||
The contents of the Apache Solr website.
|
||||
|
||||
docs/api/index.html
|
||||
The Apache Solr Javadoc API documentation.
|
||||
|
||||
|
||||
|
||||
Instructions for Building Apache Solr from Source
|
||||
-------------------------------------------------
|
||||
|
||||
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 (1.7.x, not 1.6.x, not 1.8.x) 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.
|
||||
|
||||
3. Download the Apache Solr distribution, linked from the above
|
||||
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://lucene.apache.org/solr/version_control.html
|
||||
|
||||
4. Navigate to the "solr" folder and issue an "ant" command to see the available options
|
||||
for building, testing, and packaging Solr.
|
||||
|
||||
NOTE:
|
||||
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.
|
||||
|
||||
|
||||
Export control
|
||||
-------------------------------------------------
|
||||
This distribution includes cryptographic software. The country in
|
||||
which you currently reside may have restrictions on the import,
|
||||
possession, use, and/or re-export to another country, of
|
||||
encryption software. BEFORE using any encryption software, please
|
||||
check your country's laws, regulations and policies concerning the
|
||||
import, possession, or use, and re-export of encryption software, to
|
||||
see if this is permitted. See <http://www.wassenaar.org/> for more
|
||||
information.
|
||||
|
||||
The U.S. Government Department of Commerce, Bureau of Industry and
|
||||
Security (BIS), has classified this software as Export Commodity
|
||||
Control Number (ECCN) 5D002.C.1, which includes information security
|
||||
software using or performing cryptographic functions with asymmetric
|
||||
algorithms. The form and manner of this Apache Software Foundation
|
||||
distribution makes it eligible for export under the License Exception
|
||||
ENC Technology Software Unrestricted (TSU) exception (see the BIS
|
||||
Export Administration Regulations, Section 740.13) for both object
|
||||
code and source code.
|
||||
|
||||
The following provides more details on the included cryptographic
|
||||
software:
|
||||
Apache Solr uses the Apache Tika which uses the Bouncy Castle generic encryption libraries for
|
||||
extracting text content and metadata from encrypted PDF files.
|
||||
See http://www.bouncycastle.org/ for more details on Bouncy Castle.
|
||||
# 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.
|
||||
|
||||
|
||||
Welcome to the Apache Solr project!
|
||||
-----------------------------------
|
||||
|
||||
Solr is the popular, blazing fast open source enterprise search platform
|
||||
from the Apache Lucene project.
|
||||
|
||||
For a complete description of the Solr project, team composition, source
|
||||
code repositories, and other details, please see the Solr web site at
|
||||
http://lucene.apache.org/solr
|
||||
|
||||
|
||||
Getting Started
|
||||
---------------
|
||||
|
||||
See the "example" directory for an example Solr setup. A tutorial
|
||||
using the example setup can be found at
|
||||
http://lucene.apache.org/solr/tutorial.html
|
||||
or linked from "docs/index.html" in a binary distribution.
|
||||
Also, there are Solr clients for many programming languages, see
|
||||
http://wiki.apache.org/solr/IntegratingSolr
|
||||
|
||||
|
||||
Files included in an Apache Solr binary distribution
|
||||
----------------------------------------------------
|
||||
|
||||
example/
|
||||
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.
|
||||
|
||||
dist/solr-XX.war
|
||||
The Apache Solr Application. Deploy this WAR file to any servlet
|
||||
container to run Apache Solr.
|
||||
|
||||
dist/solr-<component>-XX.jar
|
||||
The Apache Solr libraries. To compile Apache Solr Plugins,
|
||||
one or more of these will be required. The core library is
|
||||
required at a minimum. (see http://wiki.apache.org/solr/SolrPlugins
|
||||
for more information).
|
||||
|
||||
docs/index.html
|
||||
The Apache Solr Javadoc API documentation and Tutorial
|
||||
|
||||
|
||||
Instructions for Building Apache Solr from Source
|
||||
-------------------------------------------------
|
||||
|
||||
1. Download the Java SE 6 JDK (Java Development Kit) or later from http://java.sun.com/
|
||||
You will need the JDK installed, and the $JAVA_HOME/bin (Windows: %JAVA_HOME%\bin)
|
||||
folder included on your command path. To test this, issue a "java -version" command
|
||||
from your shell (command prompt) and verify that the Java version is 1.6 or later.
|
||||
|
||||
2. Download the Apache Ant binary distribution (1.8.2+) from
|
||||
http://ant.apache.org/ You will need Ant installed and the $ANT_HOME/bin (Windows:
|
||||
%ANT_HOME%\bin) folder included on your command path. To test this, issue a
|
||||
"ant -version" command from your shell (command prompt) and verify that Ant is
|
||||
available.
|
||||
|
||||
You will also need to install Apache Ivy binary distribution (2.2.0) from
|
||||
http://ant.apache.org/ivy/ and place ivy-2.2.0.jar file in ~/.ant/lib -- if you skip
|
||||
this step, the Solr build system will offer to do it for you.
|
||||
|
||||
3. Download the Apache Solr distribution, linked from the above web site.
|
||||
Unzip the distribution to a folder of your choice, e.g. C:\solr or ~/solr
|
||||
Alternately, you can obtain a copy of the latest Apache Solr source code
|
||||
directly from the Subversion repository:
|
||||
|
||||
http://lucene.apache.org/solr/versioncontrol.html
|
||||
|
||||
4. Navigate to the "solr" folder and issue an "ant" command to see the available options
|
||||
for building, testing, and packaging Solr.
|
||||
|
||||
NOTE:
|
||||
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.
|
||||
|
||||
|
||||
Export control
|
||||
-------------------------------------------------
|
||||
This distribution includes cryptographic software. The country in
|
||||
which you currently reside may have restrictions on the import,
|
||||
possession, use, and/or re-export to another country, of
|
||||
encryption software. BEFORE using any encryption software, please
|
||||
check your country's laws, regulations and policies concerning the
|
||||
import, possession, or use, and re-export of encryption software, to
|
||||
see if this is permitted. See <http://www.wassenaar.org/> for more
|
||||
information.
|
||||
|
||||
The U.S. Government Department of Commerce, Bureau of Industry and
|
||||
Security (BIS), has classified this software as Export Commodity
|
||||
Control Number (ECCN) 5D002.C.1, which includes information security
|
||||
software using or performing cryptographic functions with asymmetric
|
||||
algorithms. The form and manner of this Apache Software Foundation
|
||||
distribution makes it eligible for export under the License Exception
|
||||
ENC Technology Software Unrestricted (TSU) exception (see the BIS
|
||||
Export Administration Regulations, Section 740.13) for both object
|
||||
code and source code.
|
||||
|
||||
The following provides more details on the included cryptographic
|
||||
software:
|
||||
Apache Solr uses the Apache Tika which uses the Bouncy Castle generic encryption libraries for
|
||||
extracting text content and metadata from encrypted PDF files.
|
||||
See http://www.bouncycastle.org/ for more details on Bouncy Castle.
|
||||
|
13
java/solr/SYSTEM_REQUIREMENTS.txt
Normal file
13
java/solr/SYSTEM_REQUIREMENTS.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# System Requirements
|
||||
|
||||
Apache Solr runs of Java 6 or greater. When using Java 7, be sure to
|
||||
install at least Update 1! With all Java versions it is strongly
|
||||
recommended to not use experimental `-XX` JVM options. It is also
|
||||
recommended to always use the latest update version of your Java VM,
|
||||
because bugs may affect Solr. An overview of known JVM bugs can be
|
||||
found on http://wiki.apache.org/lucene-java/JavaBugs.
|
||||
|
||||
CPU, disk and memory requirements are based on the many choices made in
|
||||
implementing Solr (document size, number of documents, and number of
|
||||
hits retrieved to name a few). The benchmarks page has some information
|
||||
related to performance on particular platforms.
|
BIN
java/solr/dist/apache-solr-3.3.0.war
vendored
BIN
java/solr/dist/apache-solr-3.3.0.war
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-analysis-extras-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-analysis-extras-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-cell-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-cell-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-clustering-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-clustering-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-core-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-core-3.3.0.jar
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
java/solr/dist/apache-solr-solrj-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-solrj-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-test-framework-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-test-framework-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/apache-solr-uima-3.3.0.jar
vendored
BIN
java/solr/dist/apache-solr-uima-3.3.0.jar
vendored
Binary file not shown.
BIN
java/solr/dist/solr-4.5.0.war
vendored
Normal file
BIN
java/solr/dist/solr-4.5.0.war
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-analysis-extras-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-analysis-extras-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-cell-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-cell-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-clustering-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-clustering-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-core-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-core-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-dataimporthandler-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-dataimporthandler-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-dataimporthandler-extras-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-dataimporthandler-extras-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-langid-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-langid-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-solrj-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-solrj-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-test-framework-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-test-framework-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-uima-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-uima-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solr-velocity-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/solr-velocity-4.5.0.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/commons-codec-1.4.jar
vendored
BIN
java/solr/dist/solrj-lib/commons-codec-1.4.jar
vendored
Binary file not shown.
BIN
java/solr/dist/solrj-lib/commons-httpclient-3.1.jar
vendored
BIN
java/solr/dist/solrj-lib/commons-httpclient-3.1.jar
vendored
Binary file not shown.
BIN
java/solr/dist/solrj-lib/commons-io-1.4.jar
vendored
BIN
java/solr/dist/solrj-lib/commons-io-1.4.jar
vendored
Binary file not shown.
BIN
java/solr/dist/solrj-lib/commons-io-2.1.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/commons-io-2.1.jar
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
java/solr/dist/solrj-lib/httpclient-4.2.3.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/httpclient-4.2.3.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/httpcore-4.2.2.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/httpcore-4.2.2.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/httpmime-4.2.3.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/httpmime-4.2.3.jar
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
java/solr/dist/solrj-lib/jul-to-slf4j-1.6.6.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/jul-to-slf4j-1.6.6.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/log4j-1.2.16.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/log4j-1.2.16.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/noggit-0.5.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/noggit-0.5.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/slf4j-api-1.6.1.jar
vendored
BIN
java/solr/dist/solrj-lib/slf4j-api-1.6.1.jar
vendored
Binary file not shown.
BIN
java/solr/dist/solrj-lib/slf4j-api-1.6.6.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/slf4j-api-1.6.6.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/slf4j-log4j12-1.6.6.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/slf4j-log4j12-1.6.6.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/solrj-lib/zookeeper-3.4.5.jar
vendored
Normal file
BIN
java/solr/dist/solrj-lib/zookeeper-3.4.5.jar
vendored
Normal file
Binary file not shown.
6
java/solr/dist/test-framework/README.txt
vendored
Normal file
6
java/solr/dist/test-framework/README.txt
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
The Solr test-framework products base classes and utility classes for
|
||||
writting JUnit tests excercising Solr functionality.
|
||||
|
||||
This test framework relies on the lucene components found in in the
|
||||
./lucene-libs/ directory, as well as the third-party libraries found
|
||||
in the ./lib directory.
|
BIN
java/solr/dist/test-framework/lib/ant-1.8.2.jar
vendored
Normal file
BIN
java/solr/dist/test-framework/lib/ant-1.8.2.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/test-framework/lib/junit-4.10.jar
vendored
Normal file
BIN
java/solr/dist/test-framework/lib/junit-4.10.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/test-framework/lib/junit4-ant-2.0.10.jar
vendored
Normal file
BIN
java/solr/dist/test-framework/lib/junit4-ant-2.0.10.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/test-framework/lib/randomizedtesting-runner-2.0.10.jar
vendored
Normal file
BIN
java/solr/dist/test-framework/lib/randomizedtesting-runner-2.0.10.jar
vendored
Normal file
Binary file not shown.
BIN
java/solr/dist/test-framework/lucene-libs/lucene-test-framework-4.5.0.jar
vendored
Normal file
BIN
java/solr/dist/test-framework/lucene-libs/lucene-test-framework-4.5.0.jar
vendored
Normal file
Binary file not shown.
@ -1,51 +0,0 @@
|
||||
# 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.
|
||||
|
||||
Solr example configuration
|
||||
--------------------------
|
||||
|
||||
To run this example configuration, use
|
||||
|
||||
java -jar start.jar
|
||||
|
||||
in this directory, and when Solr is started connect to
|
||||
|
||||
http://localhost:8983/solr/admin/
|
||||
|
||||
To add documents to the index, use the post.sh script in the exampledocs
|
||||
subdirectory (while Solr is running), for example:
|
||||
|
||||
cd exampledocs
|
||||
sh post.sh *.xml
|
||||
|
||||
See also README.txt in the solr subdirectory, and check
|
||||
http://wiki.apache.org/solr/SolrResources for a list of tutorials and
|
||||
introductory articles.
|
||||
|
||||
NOTE: This Solr example server references certain Solr jars outside of
|
||||
this server directory for non-core modules with <lib> statements in
|
||||
solrconfig.xml. If you make a copy of this example server and wish
|
||||
to use the ExtractingRequestHandler (SolrCell), DataImportHandler (DIH),
|
||||
UIMA, the clustering component, or other modules in "contrib",
|
||||
you will need to copy the required jars into solr/lib or update the paths to
|
||||
the jars in your solrconfig.xml.
|
||||
|
||||
By default, start.jar starts Solr in Jetty using the default solr home
|
||||
directory of "./solr/" -- To run other example configurations, you can
|
||||
speciy the solr.solr.home system property when starting jetty...
|
||||
|
||||
java -Dsolr.solr.home=multicore -jar start.jar
|
||||
java -Dsolr.solr.home=example-DIH -jar start.jar
|
||||
|
8
java/solr/server/contexts/solr-jetty-context.xml
Normal file
8
java/solr/server/contexts/solr-jetty-context.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
||||
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
|
||||
<Set name="contextPath"><SystemProperty name="hostContext" default="/solr"/></Set>
|
||||
<Set name="war"><SystemProperty name="jetty.home"/>/webapps/solr.war</Set>
|
||||
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home"/>/etc/webdefault.xml</Set>
|
||||
<Set name="tempDirectory"><Property name="jetty.home" default="."/>/solr-webapp</Set>
|
||||
</Configure>
|
37
java/solr/server/etc/create-solrtest.keystore.sh
Executable file
37
java/solr/server/etc/create-solrtest.keystore.sh
Executable file
@ -0,0 +1,37 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
# 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.
|
||||
|
||||
############
|
||||
|
||||
# This script shows how the solrtest.keystore file used for solr tests
|
||||
# and these example configs was generated.
|
||||
#
|
||||
# Running this script should only be necessary if the keystore file
|
||||
# needs to be replaced, which shouldn't be required until sometime around
|
||||
# the year 4751.
|
||||
#
|
||||
# NOTE: the "-ext" option used in the "keytool" command requires that you have
|
||||
# the java7 version of keytool, but the generated key will work with any
|
||||
# version of java
|
||||
|
||||
echo "### remove old keystore"
|
||||
rm -f solrtest.keystore
|
||||
|
||||
echo "### create keystore and keys"
|
||||
keytool -keystore solrtest.keystore -storepass "secret" -alias solrtest -keypass "secret" -genkey -keyalg RSA -dname "cn=localhost, ou=SolrTest, o=lucene.apache.org, c=US" -ext "san=ip:127.0.0.1" -validity 999999
|
||||
|
||||
|
@ -1,227 +1,205 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Configure the Jetty Server -->
|
||||
<!-- -->
|
||||
<!-- Documentation of this file format can be found at: -->
|
||||
<!-- http://docs.codehaus.org/display/JETTY/jetty.xml -->
|
||||
<!-- -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
|
||||
<Configure id="Server" class="org.mortbay.jetty.Server">
|
||||
|
||||
<!-- Increase the maximum POST size to 1 MB to be able to handle large shard requests -->
|
||||
<Call class="java.lang.System" name="setProperty">
|
||||
<Arg>org.mortbay.jetty.Request.maxFormContentSize</Arg>
|
||||
<Arg>1000000</Arg>
|
||||
</Call>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Server Thread Pool -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="ThreadPool">
|
||||
|
||||
<New class="org.mortbay.thread.QueuedThreadPool">
|
||||
<Set name="minThreads">10</Set>
|
||||
<Set name="maxThreads">10000</Set>
|
||||
<Set name="lowThreads">20</Set>
|
||||
</New>
|
||||
|
||||
<!-- Optional Java 5 bounded threadpool with job queue
|
||||
<New class="org.mortbay.thread.concurrent.ThreadPool">
|
||||
<Set name="corePoolSize">50</Set>
|
||||
<Set name="maximumPoolSize">50</Set>
|
||||
</New>
|
||||
-->
|
||||
</Set>
|
||||
|
||||
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Set connectors -->
|
||||
<!-- =========================================================== -->
|
||||
<!-- One of each type! -->
|
||||
<!-- =========================================================== -->
|
||||
|
||||
<!-- Use this connector for many frequently idle connections
|
||||
and for threadless continuations.
|
||||
-->
|
||||
<!--
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
|
||||
<Set name="host"><SystemProperty name="jetty.host" /></Set>
|
||||
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
|
||||
<Set name="maxIdleTime">30000</Set>
|
||||
<Set name="Acceptors">2</Set>
|
||||
<Set name="statsOn">false</Set>
|
||||
<Set name="confidentialPort">8443</Set>
|
||||
<Set name="lowResourcesConnections">5000</Set>
|
||||
<Set name="lowResourcesMaxIdleTime">5000</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
-->
|
||||
|
||||
<!-- This connector is currently being used for Solr because it
|
||||
showed better performance than nio.SelectChannelConnector
|
||||
for typical Solr requests. -->
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.mortbay.jetty.bio.SocketConnector">
|
||||
<Set name="host"><SystemProperty name="jetty.host" default="localhost" /></Set>
|
||||
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
|
||||
<Set name="maxIdleTime">50000</Set>
|
||||
<Set name="lowResourceMaxIdleTime">1500</Set>
|
||||
<Set name="statsOn">false</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- To add a HTTPS SSL listener -->
|
||||
<!-- see jetty-ssl.xml to add an ssl connector. use -->
|
||||
<!-- java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- To allow Jetty to be started from xinetd -->
|
||||
<!-- mixin jetty-xinetd.xml: -->
|
||||
<!-- java -jar start.jar etc/jetty.xml etc/jetty-xinetd.xml -->
|
||||
<!-- -->
|
||||
<!-- See jetty-xinetd.xml for further instructions. -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Set up global session ID manager -->
|
||||
<!-- =========================================================== -->
|
||||
<!--
|
||||
<Set name="sessionIdManager">
|
||||
<New class="org.mortbay.jetty.servlet.HashSessionIdManager">
|
||||
<Set name="workerName">node1</Set>
|
||||
</New>
|
||||
</Set>
|
||||
-->
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Set handler Collection Structure -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="handler">
|
||||
<New id="Handlers" class="org.mortbay.jetty.handler.HandlerCollection">
|
||||
<Set name="handlers">
|
||||
<Array type="org.mortbay.jetty.Handler">
|
||||
<Item>
|
||||
<New id="Contexts" class="org.mortbay.jetty.handler.ContextHandlerCollection"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<New id="DefaultHandler" class="org.mortbay.jetty.handler.DefaultHandler"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<New id="RequestLog" class="org.mortbay.jetty.handler.RequestLogHandler"/>
|
||||
</Item>
|
||||
</Array>
|
||||
</Set>
|
||||
</New>
|
||||
</Set>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Configure the context deployer -->
|
||||
<!-- A context deployer will deploy contexts described in -->
|
||||
<!-- configuration files discovered in a directory. -->
|
||||
<!-- The configuration directory can be scanned for hot -->
|
||||
<!-- deployments at the configured scanInterval. -->
|
||||
<!-- -->
|
||||
<!-- This deployer is configured to deploy contexts configured -->
|
||||
<!-- in the $JETTY_HOME/contexts directory -->
|
||||
<!-- -->
|
||||
<!-- =========================================================== -->
|
||||
<Call name="addLifeCycle">
|
||||
<Arg>
|
||||
<New class="org.mortbay.jetty.deployer.ContextDeployer">
|
||||
<Set name="contexts"><Ref id="Contexts"/></Set>
|
||||
<Set name="configurationDir"><SystemProperty name="jetty.home" default="."/>/contexts</Set>
|
||||
<Set name="scanInterval">5</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Configure the webapp deployer. -->
|
||||
<!-- A webapp deployer will deploy standard webapps discovered -->
|
||||
<!-- in a directory at startup, without the need for additional -->
|
||||
<!-- configuration files. It does not support hot deploy or -->
|
||||
<!-- non standard contexts (see ContextDeployer above). -->
|
||||
<!-- -->
|
||||
<!-- This deployer is configured to deploy webapps from the -->
|
||||
<!-- $JETTY_HOME/webapps directory -->
|
||||
<!-- -->
|
||||
<!-- Normally only one type of deployer need be used. -->
|
||||
<!-- -->
|
||||
<!-- =========================================================== -->
|
||||
<Call name="addLifeCycle">
|
||||
<Arg>
|
||||
<New class="org.mortbay.jetty.deployer.WebAppDeployer">
|
||||
<Set name="contexts"><Ref id="Contexts"/></Set>
|
||||
<Set name="webAppDir"><SystemProperty name="jetty.home" default="."/>/webapps</Set>
|
||||
<Set name="parentLoaderPriority">false</Set>
|
||||
<Set name="extract">true</Set>
|
||||
<Set name="allowDuplicates">false</Set>
|
||||
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Configure Authentication Realms -->
|
||||
<!-- Realms may be configured for the entire server here, or -->
|
||||
<!-- they can be configured for a specific web app in a context -->
|
||||
<!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
|
||||
<!-- example). -->
|
||||
<!-- =========================================================== -->
|
||||
<!--
|
||||
<Set name="UserRealms">
|
||||
<Array type="org.mortbay.jetty.security.UserRealm">
|
||||
<Item>
|
||||
<New class="org.mortbay.jetty.security.HashUserRealm">
|
||||
<Set name="name">Test Realm</Set>
|
||||
<Set name="config"><SystemProperty name="jetty.home" default="."/>/etc/realm.properties</Set>
|
||||
<Set name="refreshInterval">0</Set>
|
||||
</New>
|
||||
</Item>
|
||||
</Array>
|
||||
</Set>
|
||||
-->
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Configure Request Log -->
|
||||
<!-- Request logs may be configured for the entire server here, -->
|
||||
<!-- or they can be configured for a specific web app in a -->
|
||||
<!-- contexts configuration (see $(jetty.home)/contexts/test.xml -->
|
||||
<!-- for an example). -->
|
||||
<!-- =========================================================== -->
|
||||
<!--
|
||||
<Ref id="RequestLog">
|
||||
<Set name="requestLog">
|
||||
<New id="RequestLogImpl" class="org.mortbay.jetty.NCSARequestLog">
|
||||
<Set name="filename"><SystemProperty name="jetty.logs" default="./logs"/>/yyyy_mm_dd.request.log</Set>
|
||||
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
||||
<Set name="retainDays">90</Set>
|
||||
<Set name="append">true</Set>
|
||||
<Set name="extended">false</Set>
|
||||
<Set name="logCookies">false</Set>
|
||||
<Set name="LogTimeZone">GMT</Set>
|
||||
</New>
|
||||
</Set>
|
||||
</Ref>
|
||||
-->
|
||||
<!-- =========================================================== -->
|
||||
<!-- extra options -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="stopAtShutdown">true</Set>
|
||||
<Set name="sendServerVersion">false</Set>
|
||||
<Set name="sendDateHeader">false</Set>
|
||||
<Set name="gracefulShutdown">1000</Set>
|
||||
|
||||
</Configure>
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Configure the Jetty Server -->
|
||||
<!-- -->
|
||||
<!-- Documentation of this file format can be found at: -->
|
||||
<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
|
||||
<!-- -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
|
||||
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Server Thread Pool -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="ThreadPool">
|
||||
<!-- Default queued blocking threadpool -->
|
||||
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
|
||||
<Set name="minThreads">10</Set>
|
||||
<Set name="maxThreads">10000</Set>
|
||||
<Set name="detailedDump">false</Set>
|
||||
</New>
|
||||
</Set>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Set connectors -->
|
||||
<!-- =========================================================== -->
|
||||
|
||||
<!--
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
|
||||
<Set name="host"><SystemProperty name="jetty.host" /></Set>
|
||||
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
|
||||
<Set name="maxIdleTime">50000</Set>
|
||||
<Set name="Acceptors">2</Set>
|
||||
<Set name="statsOn">false</Set>
|
||||
<Set name="confidentialPort">8443</Set>
|
||||
<Set name="lowResourcesConnections">5000</Set>
|
||||
<Set name="lowResourcesMaxIdleTime">5000</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
-->
|
||||
|
||||
<!-- This connector is currently being used for Solr because it
|
||||
showed better performance than nio.SelectChannelConnector
|
||||
for typical Solr requests. -->
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.server.bio.SocketConnector">
|
||||
<Call class="java.lang.System" name="setProperty"> <Arg>log4j.configuration</Arg> <Arg>etc/log4j.properties</Arg> </Call>
|
||||
<Set name="host"><SystemProperty name="jetty.host" /></Set>
|
||||
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
|
||||
<Set name="maxIdleTime">50000</Set>
|
||||
<Set name="lowResourceMaxIdleTime">1500</Set>
|
||||
<Set name="statsOn">false</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<!-- if the connector below is uncommented, then jetty will also accept SSL
|
||||
connections on port 8984, using a self signed certificate and can
|
||||
optionally require the client to authenticate with a certificate.
|
||||
(which can be the same as the server certificate_
|
||||
|
||||
# Run solr example with SSL on port 8984
|
||||
java -jar start.jar
|
||||
#
|
||||
# Run post.jar so that it trusts the server cert...
|
||||
java -Djavax.net.ssl.trustStore=../etc/solrtest.keystore -Durl=https://localhost:8984/solr/update -jar post.jar *.xml
|
||||
|
||||
# Run solr example with SSL requiring client certs on port 8984
|
||||
java -Djetty.ssl.clientAuth=true -jar start.jar
|
||||
#
|
||||
# Run post.jar so that it trusts the server cert,
|
||||
# and authenticates with a client cert
|
||||
java -Djavax.net.ssl.keyStorePassword=secret -Djavax.net.ssl.keyStore=../etc/solrtest.keystore -Djavax.net.ssl.trustStore=../etc/solrtest.keystore -Durl=https://localhost:8984/solr/update -jar post.jar *.xml
|
||||
|
||||
-->
|
||||
<!--
|
||||
<Call name="addConnector">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.http.ssl.SslContextFactory">
|
||||
<Set name="keyStore"><SystemProperty name="jetty.home" default="."/>/etc/solrtest.keystore</Set>
|
||||
<Set name="keyStorePassword">secret</Set>
|
||||
<Set name="needClientAuth"><SystemProperty name="jetty.ssl.clientAuth" default="false"/></Set>
|
||||
</New>
|
||||
</Arg>
|
||||
<Set name="port"><SystemProperty name="jetty.ssl.port" default="8984"/></Set>
|
||||
<Set name="maxIdleTime">30000</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
-->
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Set handler Collection Structure -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="handler">
|
||||
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
||||
<Set name="handlers">
|
||||
<Array type="org.eclipse.jetty.server.Handler">
|
||||
<Item>
|
||||
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
|
||||
</Item>
|
||||
</Array>
|
||||
</Set>
|
||||
</New>
|
||||
</Set>
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- Configure Request Log -->
|
||||
<!-- =========================================================== -->
|
||||
<!--
|
||||
<Ref id="Handlers">
|
||||
<Call name="addHandler">
|
||||
<Arg>
|
||||
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
|
||||
<Set name="requestLog">
|
||||
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
|
||||
<Set name="filename">
|
||||
logs/request.yyyy_mm_dd.log
|
||||
</Set>
|
||||
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
||||
<Set name="retainDays">90</Set>
|
||||
<Set name="append">true</Set>
|
||||
<Set name="extended">false</Set>
|
||||
<Set name="logCookies">false</Set>
|
||||
<Set name="LogTimeZone">UTC</Set>
|
||||
</New>
|
||||
</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
</Ref>
|
||||
-->
|
||||
|
||||
<!-- =========================================================== -->
|
||||
<!-- extra options -->
|
||||
<!-- =========================================================== -->
|
||||
<Set name="stopAtShutdown">true</Set>
|
||||
<Set name="sendServerVersion">false</Set>
|
||||
<Set name="sendDateHeader">false</Set>
|
||||
<Set name="gracefulShutdown">1000</Set>
|
||||
<Set name="dumpAfterStart">false</Set>
|
||||
<Set name="dumpBeforeStop">false</Set>
|
||||
|
||||
|
||||
|
||||
|
||||
<Call name="addBean">
|
||||
<Arg>
|
||||
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
||||
<Set name="contexts">
|
||||
<Ref id="Contexts" />
|
||||
</Set>
|
||||
<Call name="setContextAttribute">
|
||||
<Arg>org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern</Arg>
|
||||
<Arg>.*/servlet-api-[^/]*\.jar$</Arg>
|
||||
</Call>
|
||||
|
||||
|
||||
<!-- Add a customize step to the deployment lifecycle -->
|
||||
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
||||
<Call name="insertLifeCycleNode">
|
||||
<Arg>deployed</Arg>
|
||||
<Arg>starting</Arg>
|
||||
<Arg>customise</Arg>
|
||||
</Call>
|
||||
<Call name="addLifeCycleBinding">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
||||
<Arg>customise</Arg>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
-->
|
||||
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<Ref id="DeploymentManager">
|
||||
<Call name="addAppProvider">
|
||||
<Arg>
|
||||
<New class="org.eclipse.jetty.deploy.providers.ContextProvider">
|
||||
<Set name="monitoredDirName"><SystemProperty name="jetty.home" default="."/>/contexts</Set>
|
||||
<Set name="scanInterval">0</Set>
|
||||
</New>
|
||||
</Arg>
|
||||
</Call>
|
||||
</Ref>
|
||||
|
||||
</Configure>
|
||||
|
38
java/solr/server/etc/logging.properties
Normal file
38
java/solr/server/etc/logging.properties
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
|
||||
# To use this log config, start solr with the following system property:
|
||||
# -Djava.util.logging.config.file=etc/logging.properties
|
||||
|
||||
## Default global logging level:
|
||||
.level = INFO
|
||||
|
||||
## Log every update command (add, delete, commit, ...)
|
||||
#org.apache.solr.update.processor.LogUpdateProcessor.level = FINE
|
||||
|
||||
## Where to log (space separated list).
|
||||
handlers = java.util.logging.FileHandler
|
||||
|
||||
java.util.logging.FileHandler.level = FINE
|
||||
|
||||
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
|
||||
|
||||
# 1 GB limit per file
|
||||
java.util.logging.FileHandler.limit = 1073741824
|
||||
|
||||
# Log to the logs directory, with log files named solrxxx.log
|
||||
java.util.logging.FileHandler.pattern = ./logs/solr%u.log
|
BIN
java/solr/server/etc/solrtest.keystore
Normal file
BIN
java/solr/server/etc/solrtest.keystore
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
java/solr/server/lib/ext/jcl-over-slf4j-1.6.6.jar
Normal file
BIN
java/solr/server/lib/ext/jcl-over-slf4j-1.6.6.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/ext/jul-to-slf4j-1.6.6.jar
Normal file
BIN
java/solr/server/lib/ext/jul-to-slf4j-1.6.6.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/ext/log4j-1.2.16.jar
Normal file
BIN
java/solr/server/lib/ext/log4j-1.2.16.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/ext/slf4j-api-1.6.6.jar
Normal file
BIN
java/solr/server/lib/ext/slf4j-api-1.6.6.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/ext/slf4j-log4j12-1.6.6.jar
Normal file
BIN
java/solr/server/lib/ext/slf4j-log4j12-1.6.6.jar
Normal file
Binary file not shown.
Binary file not shown.
@ -1,36 +0,0 @@
|
||||
==============================================================
|
||||
Jetty Web Container
|
||||
Copyright 1995-2009 Mort Bay Consulting Pty Ltd
|
||||
==============================================================
|
||||
|
||||
The Jetty Web Container is Copyright Mort Bay Consulting Pty Ltd
|
||||
unless otherwise noted. It is licensed under the apache 2.0
|
||||
license.
|
||||
|
||||
The javax.servlet package used by Jetty is copyright
|
||||
Sun Microsystems, Inc and Apache Software Foundation. It is
|
||||
distributed under the Common Development and Distribution License.
|
||||
You can obtain a copy of the license at
|
||||
https://glassfish.dev.java.net/public/CDDLv1.0.html.
|
||||
|
||||
The UnixCrypt.java code ~Implements the one way cryptography used by
|
||||
Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
|
||||
modified April 2001 by Iris Van den Broeke, Daniel Deville.
|
||||
Permission to use, copy, modify and distribute UnixCrypt
|
||||
for non-commercial or commercial purposes and without fee is
|
||||
granted provided that the copyright notice appears in all copies.
|
||||
|
||||
The default JSP implementation is provided by the Glassfish JSP engine
|
||||
from project Glassfish http://glassfish.dev.java.net. Copyright 2005
|
||||
Sun Microsystems, Inc. and portions Copyright Apache Software Foundation.
|
||||
|
||||
Some portions of the code are Copyright:
|
||||
2006 Tim Vernum
|
||||
1999 Jason Gilbert.
|
||||
|
||||
The jboss integration module contains some LGPL code.
|
||||
|
||||
The win32 Java Service Wrapper (v3.2.3) is Copyright (c) 1999, 2006
|
||||
Tanuki Software, Inc. and 2001 Silver Egg Technology. It is
|
||||
covered by an open license which is viewable at
|
||||
http://svn.codehaus.org/jetty/jetty/branches/jetty-6.1/extras/win32service/LICENSE.txt
|
BIN
java/solr/server/lib/jetty-continuation-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-continuation-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-deploy-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-deploy-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-http-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-http-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-io-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-io-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-jmx-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-jmx-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-security-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-security-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-server-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-server-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-servlet-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-servlet-8.1.10.v20130312.jar
Normal file
Binary file not shown.
Binary file not shown.
BIN
java/solr/server/lib/jetty-util-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-util-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-webapp-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-webapp-8.1.10.v20130312.jar
Normal file
Binary file not shown.
BIN
java/solr/server/lib/jetty-xml-8.1.10.v20130312.jar
Normal file
BIN
java/solr/server/lib/jetty-xml-8.1.10.v20130312.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
java/solr/server/lib/servlet-api-3.0.jar
Normal file
BIN
java/solr/server/lib/servlet-api-3.0.jar
Normal file
Binary file not shown.
2318
java/solr/server/logs/solr.log
Normal file
2318
java/solr/server/logs/solr.log
Normal file
File diff suppressed because it is too large
Load Diff
24
java/solr/server/resources/log4j.properties
Normal file
24
java/solr/server/resources/log4j.properties
Normal file
@ -0,0 +1,24 @@
|
||||
# Logging level
|
||||
solr.log=logs/
|
||||
log4j.rootLogger=INFO, file, CONSOLE
|
||||
|
||||
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
||||
|
||||
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x \u2013 %m%n
|
||||
|
||||
#- size rotation with log cleanup.
|
||||
log4j.appender.file=org.apache.log4j.RollingFileAppender
|
||||
log4j.appender.file.MaxFileSize=4MB
|
||||
log4j.appender.file.MaxBackupIndex=9
|
||||
|
||||
#- File to log to and log format
|
||||
log4j.appender.file.File=${solr.log}/solr.log
|
||||
log4j.appender.file.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.file.layout.ConversionPattern=%-5p - %d{yyyy-MM-dd HH:mm:ss.SSS}; %C; %m\n
|
||||
|
||||
log4j.logger.org.apache.zookeeper=WARN
|
||||
log4j.logger.org.apache.hadoop=WARN
|
||||
|
||||
# set to INFO to enable infostream log messages
|
||||
log4j.logger.org.apache.solr.update.LoggingInfoStream=OFF
|
@ -1,4 +1,3 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
@ -200,3 +199,28 @@
|
||||
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.
|
||||
|
||||
==========================================================================
|
||||
The following license applies to the JQuery JavaScript library
|
||||
--------------------------------------------------------------------------
|
||||
Copyright (c) 2010 John Resig, http://jquery.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
13
java/solr/server/solr-webapp/webapp/META-INF/MANIFEST.MF
Normal file
13
java/solr/server/solr-webapp/webapp/META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,13 @@
|
||||
Manifest-Version: 1.0
|
||||
Implementation-Vendor: The Apache Software Foundation
|
||||
Ant-Version: Apache Ant 1.8.2
|
||||
Implementation-Title: org.apache.solr
|
||||
Implementation-Version: 4.5.0 1527178 - jpountz - 2013-09-28 14:09:34
|
||||
Specification-Vendor: The Apache Software Foundation
|
||||
Specification-Title: Apache Solr Search Server
|
||||
Created-By: 1.6.0_45-b06 (Sun Microsystems Inc.)
|
||||
Specification-Version: 4.5.0
|
||||
Extension-Name: org.apache.solr
|
||||
X-Compile-Source-JDK: 1.6
|
||||
X-Compile-Target-JDK: 1.6
|
||||
|
564
java/solr/server/solr-webapp/webapp/META-INF/NOTICE.txt
Normal file
564
java/solr/server/solr-webapp/webapp/META-INF/NOTICE.txt
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
java/solr/server/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar
Normal file
BIN
java/solr/server/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar
Normal file
Binary file not shown.
BIN
java/solr/server/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar
Normal file
BIN
java/solr/server/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user