From fb446b613f1ce0c343c10303302be7469ef045ca Mon Sep 17 00:00:00 2001 From: Guy Date: Thu, 28 Jun 2018 09:56:26 +1200 Subject: [PATCH 1/2] FIX Reduce log level so errors do not automatically output --- src/Search/Indexes/SearchIndex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Search/Indexes/SearchIndex.php b/src/Search/Indexes/SearchIndex.php index cbcaa89..ea8facd 100644 --- a/src/Search/Indexes/SearchIndex.php +++ b/src/Search/Indexes/SearchIndex.php @@ -565,7 +565,7 @@ abstract class SearchIndex extends ViewableData */ public static function warn($e) { - Injector::inst()->get(LoggerInterface::class)->warning($e); + Injector::inst()->get(LoggerInterface::class)->info($e); } /** From ac32661fe3487362aa7803628e63c4360345cfb1 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Fri, 6 Jul 2018 15:41:17 +1200 Subject: [PATCH 2/2] 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").