[Archivesspace_Users_Group] Solr review

Tom Hanstra hanstra at nd.edu
Mon Apr 11 16:04:48 EDT 2022


Thanks, Brian.

Some more questions, assuming that I've gotten the configuration and cores
set up correctly.

- Memory: In my Archivesspace 2.8.1 instance, Solr and ArchivesSpace are
sharing the same Java memory (as far as I can tell). When we split them up,
are there suggested amounts of memory for each?  Do I need more memory
given to Java in order to address having these separated out?

I'm trying a soft reindex to see if my Solr and ArchivesSpace are not in
sync, but one thing I notice is that memory for Solr itself, because it is
external, is much lower than my production server. What do others use
memory and thread wise?

It seems to me that I'm resource bound somewhere, but I've been unable to
track down where so far. It seems like soft indexing should be pretty
speedy, since Solr records are already in place, but it is going quite
slowly so far.

- Other configuration settings
Might there be other Solr configuration settings which need to be tweaked
to speed up processing? There are a lot more values displayed in 8.11.1
that seem like they could be changed.

Tom



On Mon, Apr 11, 2022 at 3:18 PM Brian Hoffman <brian.hoffman at lyrasis.org>
wrote:

> Hi Tom,
>
>
>
> I share your confusion – I personally do not bother with configsets when I
> set up my own solr instances. I think it is an either / or situation – you
> can use them if you want, or just create the core you need directly if you
> have installed solr natively and have the standard tools:
>
>
>
> % solr create -c archivesspace -d /path/to/archivesspace/solr
>
>
>
> Solr needs to be running, and after that command succeeds you should be
> able to verify through the admin app that the core exists and the schema
> has archivesspace field definitions.
>
>
>
> Let me know if any of this doesn’t make sense.
>
>
>
> Brian
>
>
>
> *From: *archivesspace_users_group-bounces at lyralists.lyrasis.org <
> archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Tom
> Hanstra <hanstra at nd.edu>
> *Date: *Monday, April 11, 2022 at 2:52 PM
> *To: *Archivesspace Users Group <
> archivesspace_users_group at lyralists.lyrasis.org>
> *Subject: *[Archivesspace_Users_Group] Solr review
>
> I'm reviewing the Solr documentation from ArchivesSpace and what I have
> learned from other Solr configurations locally. I'm wondering if I'm
> missing something.
>
> The ArchivesSpace documentation here:
>
> https://archivesspace.github.io/tech-docs/provisioning/solr.html
>
> suggests the need to copy the various Solr config files over to a
> configsets directory. In my case, with solr installed in /opt/solr that
> directory would be:
>
> /opt/solr/server/solr/configsets/archivessspace/conf
>
> and then copy the configuration files over to that location. But then I
> don't see anything that specifically tells Solr that that is where to find
> those files.
>
>
>
> I believe that it is simply the fact that the files exists down under the
> configured $SOLR_HOME directory that allows Solr to find these, but I'm
> trying to make sure. I have other Solr instances in which I've just got a
> "conf" directory under SOLR_HOME which is not under a configsets directory
> which seems sufficient to get Solr set up, but I'm trying to be sure. I"m
> still trying to figure out a problem with either AS or Solr in my 3.2.0
> instance, so I'm checking everything along the way. The core looks right
> (similar number of records after indexing), but maybe there is a mismatch
> somewhere.
>
>
>
> Thanks for any thoughts on this,
>
> Tom
>
> --
>
> *Tom Hanstra*
>
> *Sr. Systems Administrator*
>
> hanstra at nd.edu
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>


-- 
*Tom Hanstra*
*Sr. Systems Administrator*
hanstra at nd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20220411/54b36acf/attachment.html>


More information about the Archivesspace_Users_Group mailing list