From deeec14ccfd6eb3aac6aba178d48e5e6e7d3ecd1 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Wed, 20 Jul 2022 11:20:20 +1200 Subject: [PATCH] FIX Solr communication error --- composer.json | 5 ++++- src/Solr/CwpSolr.php | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c59d773..cee3cfe 100644 --- a/composer.json +++ b/composer.json @@ -11,12 +11,15 @@ "php": "^7.3 || ^8.0", "silverstripe/framework": "^4.10", "cwp/cwp": "^2", - "silverstripe/fulltextsearch": "^3" + "silverstripe/fulltextsearch": "^3.4" }, "require-dev": { "phpunit/phpunit": "^9.5", "squizlabs/php_codesniffer": "^3" }, + "conflict": { + "silverstripe/auditor": "<2.2.1" + }, "autoload": { "psr-4": { "CWP\\Search\\": "src/", diff --git a/src/Solr/CwpSolr.php b/src/Solr/CwpSolr.php index bbd8e6d..4deca28 100644 --- a/src/Solr/CwpSolr.php +++ b/src/Solr/CwpSolr.php @@ -39,7 +39,6 @@ public static function configure() // get options from configuration $options = static::config()->get('options'); - // get version specific options switch ($options['version']) { case 'cwp-4':