From ac32661fe3487362aa7803628e63c4360345cfb1 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 6 Jul 2018 15:41:17 +1200 Subject: [PATCH] DOCS Update example for installing Solr ExtractingRequestHandler for 4.3.1 --- docs/en/Solr.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/en/Solr.md b/docs/en/Solr.md index e57a917..17c21aa 100644 --- a/docs/en/Solr.md +++ b/docs/en/Solr.md @@ -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 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 -mkdir tmp -tar -xvzf apache-solr-3.1.0.tgz -mkdir .solr/PageSolrIndexboot/dist -mkdir .solr/PageSolrIndexboot/contrib -cp apache-solr-3.1.0/dist/apache-solr-cell-3.1.0.jar .solr/PageSolrIndexboot/dist/ -cp -R apache-solr-3.1.0/contrib/extraction .solr/PageSolrIndexboot/contrib/ -rm -rf apache-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 +tar -xvzf solr-4.3.1.tgz +mkdir .solr/YourIndexName/dist +mkdir .solr/YourIndexName/contrib +cp solr-4.3.1/dist/solr-cell-4.3.1.jar .solr/YourIndexName/dist/ +cp -R solr-4.3.1/contrib/extraction .solr/YourIndexName/contrib/ +rm -rf solr-4.3.1 solr-4.3.1.tgz ``` Create a custom `solrconfig.xml` (see "File-based configuration").