From f68f7a7b1d2cf6776860973e9e62cc595f54a4cd Mon Sep 17 00:00:00 2001
From: Shane Murnaghan <1930474+murny@users.noreply.github.com>
Date: Sat, 16 Mar 2024 18:40:56 -0600
Subject: [PATCH] #3311: Upgrade solr to v7.0
---
docker-compose.yml | 3 +-
solr/conf/solrconfig.xml | 311 -------------------------------------
solr/config/schema.xml | 9 --
solr/config/solrconfig.xml | 23 ++-
4 files changed, 12 insertions(+), 334 deletions(-)
delete mode 100644 solr/conf/solrconfig.xml
diff --git a/docker-compose.yml b/docker-compose.yml
index 94def976f..f32c52e0e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,8 +14,7 @@ services:
- '5432:5432'
solr:
- image: solr:6.6
- platform: linux/amd64
+ image: solr:7
ports:
- '8983:8983'
volumes:
diff --git a/solr/conf/solrconfig.xml b/solr/conf/solrconfig.xml
deleted file mode 100644
index 9c5ecbfb0..000000000
--- a/solr/conf/solrconfig.xml
+++ /dev/null
@@ -1,311 +0,0 @@
-
-
-
-
-
-
-
- 5.0.0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ${solr.blacklight-core.data.dir:}
-
-
-
-
-
-
-
-
-
- *:*
-
-
-
-
-
-
- edismax
- explicit
- *:*
- 2<-1 5<-2 6<90%
- 1
- 2
- 0.01
-
-
- id
- active_fedora_model_ssi
- title_tesim
- author_tesim
- subject_tesim
-
-
- all_text_timv^10
-
-
-
- author_tesim
-
-
-
-
- title_tesim
-
-
-
-
- subject_tesim
-
-
-
-
-
- *,
- score
-
-
- true
- 1
- 10
- active_fedora_model_ssi
- subject_sim
-
- true
- default
- true
- true
- false
- 5
-
-
-
- spellcheck
-
-
-
-
-
- off
- all
- 1
- {!raw f=id v=$id}
-
- id,
- access_ssim,
- discover_access_group_ssim,discover_access_person_ssim,
- read_access_group_ssim,read_access_person_ssim,
- edit_access_group_ssim,edit_access_person_ssim,
- depositor_ti,
- embargo_release_date_dtsi
- inheritable_access_ssim,
- inheritable_discover_access_group_ssim,inheritable_discover_access_person_ssim,
- inheritable_read_access_group_ssim,inheritable_read_access_person_ssim,
- inheritable_edit_access_group_ssim,inheritable_edit_access_person_ssim,
- inheritable_embargo_release_date_dtsi
-
-
-
-
-
-
- explicit
- lucene
-
-
-
-
-
-
- all
- *
- 1
- {!term f=id v=$id}
-
-
-
-
-
-
-
- true
-
-
- termsComponent
-
-
-
-
-
-
- textSpell
-
-
-
-
-
- default
- spell
- ./spell
- true
-
-
- author
- author_spell
- ./spell_author
- 0.7
- true
-
-
- subject
- subject_spell
- ./spell_subject
- 0.7
- true
-
-
- title
- title_spell
- ./spell_title
- 0.7
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mySuggester
- FuzzyLookupFactory
- textSuggest
- true
- suggest
-
-
-
-
-
- true
- 5
- mySuggester
-
-
- suggest
-
-
-
-
-
- last_modified
- ignored_
-
-
-
-
-
-
-
-
-
-
diff --git a/solr/config/schema.xml b/solr/config/schema.xml
index 18ed873fa..c5ac95786 100644
--- a/solr/config/schema.xml
+++ b/solr/config/schema.xml
@@ -56,7 +56,6 @@
1.3: removed optional field compress feature
1.4: default auto-phrase (QueryParser feature) to off
-->
-
@@ -182,7 +181,6 @@
-
-
id
-
-
-
-
-
-
diff --git a/solr/config/solrconfig.xml b/solr/config/solrconfig.xml
index e5c5b2d24..5d729a907 100644
--- a/solr/config/solrconfig.xml
+++ b/solr/config/solrconfig.xml
@@ -17,11 +17,11 @@
-->
-
+
5.0.0
-
+
-
-
+
@@ -45,14 +45,14 @@
${solr.blacklight-core.data.dir:}
-
+
-
+
-
+
*:*
@@ -190,7 +190,7 @@
@@ -245,7 +245,7 @@
-->
-
-