Merge pull request #225 from creative-commoners/pulls/3.3/extraction-docs

DOCS Update example for installing Solr ExtractingRequestHandler for 4.3.1
This commit is contained in:
Dylan Wagstaff 2018-07-09 09:51:25 +12:00 committed by GitHub
commit f6aa457b8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -572,15 +572,17 @@ If you're using a default Solr installation, it's most likely already
bundled and set up. But if you plan on running the Solr server integrated bundled and set up. But if you plan on running the Solr server integrated
into this module, you'll need to download the libraries and link the first. into this module, you'll need to download the libraries and link the first.
Note that this example is for Solr 4.3.1 - choose the appropriate archive for your
version.
``` ```
wget http://archive.apache.org/dist/lucene/solr/3.1.0/apache-solr-3.1.0.tgz wget http://archive.apache.org/dist/lucene/solr/4.3.1/solr-4.3.1.tgz
mkdir tmp tar -xvzf solr-4.3.1.tgz
tar -xvzf apache-solr-3.1.0.tgz mkdir .solr/YourIndexName/dist
mkdir .solr/PageSolrIndexboot/dist mkdir .solr/YourIndexName/contrib
mkdir .solr/PageSolrIndexboot/contrib cp solr-4.3.1/dist/solr-cell-4.3.1.jar .solr/YourIndexName/dist/
cp apache-solr-3.1.0/dist/apache-solr-cell-3.1.0.jar .solr/PageSolrIndexboot/dist/ cp -R solr-4.3.1/contrib/extraction .solr/YourIndexName/contrib/
cp -R apache-solr-3.1.0/contrib/extraction .solr/PageSolrIndexboot/contrib/ rm -rf solr-4.3.1 solr-4.3.1.tgz
rm -rf apache-solr-3.1.0 apache-solr-3.1.0.tgz
``` ```
Create a custom `solrconfig.xml` (see "File-based configuration"). Create a custom `solrconfig.xml` (see "File-based configuration").