[Archivesspace_Users_Group] Running ArchivesSpace against Solr 8.8.1

Galligan, Patrick PGalligan at rockarch.org
Thu Feb 25 13:56:53 EST 2021


Thank you! I’ll give this a shot.

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Schanz, Megan <schanzme at msu.edu>
Date: Thursday, February 25, 2021 at 1:49 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Running ArchivesSpace against Solr 8.8.1
***External*** This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.***

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://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.msu.edu_msu-2Dlibraries_public_archivesspace-2Ddocker_-2D_blob_master_solr_solrconfig.xml.patch&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=tLnzlK7vU1xbDccAH0xe4LiKotMucSGVy_CBrb-0Kg8&e=>

https://gitlab.msu.edu/msu-libraries/public/archivesspace-docker/-/blob/master/solr/schema.xml.patch<https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.msu.edu_msu-2Dlibraries_public_archivesspace-2Ddocker_-2D_blob_master_solr_schema.xml.patch&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=HOvLvcsK6xENK_o7SF8xwbDCFtH1F_Vz5Tl_Lu_UcgU&e=>

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.msu.edu_msu-2Dlibraries_public_archivesspace-2Ddocker_-2D_blob_master_solr_Dockerfile-23L35&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=YpdUXFgiX4WzNhuQZS1M7XGMlGajoYasGWaJfFpB7dw&e=>

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.proofpoint.com/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__github.com_archivesspace_archivesspace_tree_master_solr-5F-5F-3B-21-21HXCxUKc-21j-5FDgJzAPfLaI9rnYyaJdQBL-2D4MdM-2DONfKV6-2D3CC9S2dhLBL80vOS5CLm0Qo7ctg-24&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=5I7EWxe8uIXxqWqaJ0mQB7YjpWiWqKwRJuXrhwKI6Gw&e=>



I make the Solr directory on the server with /conf and /data, generally following the instructions on running Archives with external Solr<https://urldefense.proofpoint.com/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__archivesspace.github.io_tech-2Ddocs_provisioning_solr.html-5F-5F-3B-21-21HXCxUKc-21j-5FDgJzAPfLaI9rnYyaJdQBL-2D4MdM-2DONfKV6-2D3CC9S2dhLBL80vOS5CLmlDXwdMM-24&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=wNPJWsHbHjls1n2LYbcdMYquWXzCFcD1Kb1KUhsHHJM&e=>.



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.proofpoint.com/v2/url?u=https-3A__urldefense.com_v3_-5F-5Fhttps-3A__www.drupal.org_project_search-5Fapi-5Fsolr_issues_3015993-5F-5F-3B-21-21HXCxUKc-21j-5FDgJzAPfLaI9rnYyaJdQBL-2D4MdM-2DONfKV6-2D3CC9S2dhLBL80vOS5CLmzeKzXQU-24&d=DwMF-g&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=Y-nkcMVA8HUy414mqqPzYKQHoWcbkObHpxMl8sVQL2I&m=jZ-PtsJXeFM_K2ZYaq4wXMxmx42rh9bV0TOxKOLZedQ&s=W-pJ0wxUkn_vWJeG5OU22njnkdeobduznM5GWpFhbCY&e=> 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/53d42baf/attachment.html>


More information about the Archivesspace_Users_Group mailing list