[Archivesspace_Users_Group] The best way to implement Solr - confused by documentation
Gadsby, Eric T.
egadsby at towson.edu
Fri Apr 28 17:32:23 EDT 2023
Brian,
Thanks! Let me make sure I understand…
1. Download ArchivesSpace, stick it someplace… let’s say /opt
2. Download Solr , stick it someplace… let’s say /opt
3. mkdir -p /$path/$to/$solr/server/solr/configsets/archivesspace/conf
4. Copy the configutrtion files from ArchivesSpace to /$path/$to/$solr/server/solr/configsets/archivesspace/conf
5. solr start -p 8983
6. solr create_core -c archivesspace -d solr
Then I would need to define the Solr path in the ArchivesSpace config file and start it. What would be your suggestion on how to make Solr survive a reboot?
Thanks again!
[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 .
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Brian Hoffman <brian.hoffman at lyrasis.org>
Date: Friday, April 28, 2023 at 4:34 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] The best way to implement Solr - confused by documentation
[ CAUTION: This email is from outside of TU. Use caution before clicking links or opening attachments. If suspicious, report to phishing at towson.edu. ]
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/569a9004/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/569a9004/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 1826 bytes
Desc: image002.jpg
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20230428/569a9004/attachment-0001.jpg>
More information about the Archivesspace_Users_Group
mailing list