[Archivesspace_Users_Group] Running ArchivesSpace against Solr 8.8.1

Schanz, Megan schanzme at msu.edu
Thu Feb 25 13:49:38 EST 2021


I ran into that exact problem. You need to make a change to the solrconfig.xml and schema.xml to have it load the ICU filter. Here is links to the exact changes you need to make to the file:

https://gitlab.msu.edu/msu-libraries/public/archivesspace-docker/-/blob/master/solr/solrconfig.xml.patch

https://gitlab.msu.edu/msu-libraries/public/archivesspace-docker/-/blob/master/solr/schema.xml.patch

This is the commands you could run to have it apply those patches if it helps: https://gitlab.msu.edu/msu-libraries/public/archivesspace-docker/-/blob/master/solr/Dockerfile#L35

I hope this gets it working for you!

- Megan


Megan Schanz
Michigan State University Libraries
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Galligan, Patrick <PGalligan at rockarch.org>
Sent: Thursday, February 25, 2021 1:42 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Running ArchivesSpace against Solr 8.8.1


Hey everyone,



I’m trying to test out running AS against Solr 8.8.1, but I’m having trouble getting the core set up properly with the files in the AS Solr directory.<https://urldefense.com/v3/__https://github.com/archivesspace/archivesspace/tree/master/solr__;!!HXCxUKc!j_DgJzAPfLaI9rnYyaJdQBL-4MdM-ONfKV6-3CC9S2dhLBL80vOS5CLm0Qo7ctg$>



I make the Solr directory on the server with /conf and /data, generally following the instructions on running Archives with external Solr<https://urldefense.com/v3/__https://archivesspace.github.io/tech-docs/provisioning/solr.html__;!!HXCxUKc!j_DgJzAPfLaI9rnYyaJdQBL-4MdM-ONfKV6-3CC9S2dhLBL80vOS5CLmlDXwdMM$>.



I’m getting this error when trying to actually create and initialize the core:



archivesspace: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core archivesspace: Can't load schema /solr-8.8.1/server/solr/archivesspace/conf/schema.xml: Plugin init failure for [schema.xml] fieldType "sort_icu": Plugin init failure for [schema.xml] analyzer/filter: Error loading class 'solr.ICUCollationKeyFilterFactory'





I read through this thread<https://urldefense.com/v3/__https://www.drupal.org/project/search_api_solr/issues/3015993__;!!HXCxUKc!j_DgJzAPfLaI9rnYyaJdQBL-4MdM-ONfKV6-3CC9S2dhLBL80vOS5CLmzeKzXQU$> about the issue, but haven’t gotten anything to work yet.



Has anyone had experience with running external Solr that might have advice on what to do here?



Thanks,

Patrick Galligan

Rockefeller Archive Center

Digital Archivist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20210225/4940fdbf/attachment.html>


More information about the Archivesspace_Users_Group mailing list