[Archivesspace_Users_Group] The best way to implement Solr - confused by documentation

Brian Hoffman brian.hoffman at lyrasis.org
Fri Apr 28 16:34:19 EDT 2023


Hi Eric,

I recommend trying a simpler approach:

First, start solr. For example:

solr start -p 8983

Then cd to where you installed archivesspace and:

solr create_core -c archivesspace -d solr

Once you do that, you should be able to navigate to http://host:8983 and see the ‘archivesspace’ core in the collection dropdown.

Brian

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Gadsby, Eric T. <egadsby at towson.edu>
Date: Friday, April 28, 2023 at 3:31 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] The best way to implement Solr - confused by documentation
Dear Friends,

In relationship to my previous message about moving our ArchivesSpace to a new server I am in the process of setting up Solr in our test environment and having troubles.

I set up Solr as outlined at https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html; specifically running the install script that places all files in the correct places, makes a solr user, and sets the start-up process. Solr installed fine but I could not make the ArchivesSpace core using the process laid out at https://archivesspace.github.io/tech-docs/provisioning/solr.html; I got an error.

Now here is where I have found a contradiction. The ArchivesSpace documentation instructs you to follow the Solr documentation. The Solr documentation says to run the script but that starts Solr while the ArchivesSpace documentation goes onto says to not run Solr before importing the ArchivesSpace configuration files.  Which is accurate?

I have rolled my testing environment back and am trying again.  In trying to get a better understanding I looked at Blake’s video at  https://www.youtube.com/watch?v=1KbD0M_XfqI.  In the video he says to simply move solr to /opt and you’re done, no need to run the script.  Is that the case?  Perhaps I am over thinking this but don’t you need to script to set up all the things Solr need like it’s own user and init file.  The Solr document says you can start the software from anywhere (ie your home directory) but they call it a “toy” install and cautions you not to overtax it suggesting you should test that way but run a full install.

As I roll up my sleaves to try again any guidance would be most helpful. Thanks in advance for your help!


[Towson University logo]<http://www.towson.edu/>
Eric T. Gadsby
Pronouns: he/him/his
IT Operations Specialist  |  Albert S. Cook Library
—
P: 410-704-3340
egadsby at towson.edu<mailto:egadsby at towson.edu>  |  libraries.towson.edu<http://www.towson.edu/https:/libraries.towson.edu>
 —

Confidentiality Notice: This message may contain information that is confidential, privileged, proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 .


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230428/d2ee5b4e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1826 bytes
Desc: image001.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230428/d2ee5b4e/attachment.jpg>


More information about the Archivesspace_Users_Group mailing list