[Archivesspace_Users_Group] [EXTERNAL] Re: Hard re-indexing question

Rees, John (NIH/NLM) [E] reesj at mail.nlm.nih.gov
Tue Oct 18 08:53:55 EDT 2022

Thanks. They weren't deleted records, but published-then-suppressed records.

Being once published, their subject terms were published and then persisted as ghost terms in the PUI with no linked records. Until either the subject term was touched (when we ran the full re-index) or the published state of the DO record was toggled (suppression doesn't change system_mtime), subject terms weren't re-indexed for the PUI.

We learned something new.


From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of Andrew Morrison
Sent: Tuesday, October 18, 2022 4:09 AM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [EXTERNAL] Re: [Archivesspace_Users_Group] Hard re-indexing question

There is a bug involving the "deleted_records" table that can cause records to disappear after a re-index:


But it only affects things that have been transferred from one repository to another, then back again. And that doesn't apply to subjects, as they don't belong to any one repository. There could be another mechanism to trigger than same bug for subjects, if so the SQL file attached to that issue could be adapted to find and fix them.

If subjects are missing from the public interface but not from the staff interface, then it is a problem with the indexer, or the code it calls to check that each subject is linked to at least one published record.


On 17/10/2022 17:48, Blake Carver wrote:

>> We recently tried a hard re-index and discovered that for the PUI, subjects linked only to digital objects were not re-indexed and dropped from the PUI. Is this expected behavior?

Maybe related to what's in your deleted_records table? How many rows in that table?

>> Related, is there a table/tables in the dbase that tell Solr when to index that we could investigate,

Many things have a system_mtime that you can set to NOW().


Archivesspace_Users_Group mailing list

Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20221018/ff80b445/attachment.html>

More information about the Archivesspace_Users_Group mailing list