Bug #13266

Descriptions not indexed on search:populate task

Added by José Raddaoui Marín 8 months ago. Updated 7 months ago.

Status:VerifiedStart date:02/23/2020
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Search / Browse
Target version:Release 2.6.0
Google Code Legacy ID: Tested version:2.6
Sponsored:No Requires documentation:No

Description

In some cases, the search:populate task ends without indexing all archival descriptions:

.
.
  [InformationObject] Test IO inserted (85767.06s) (852223/915874)
Index populated with 1296675 documents in 85767.08 seconds.
The following errors have been encountered:
Couldn't find actor (id: )
Couldn't find actor (id: )
Couldn't find actor (id: )
.
.

In #10333, we avoided the end of the indexing process for this kind of errors and logged them at the end. However, if the error occurs in a description with descendants, the indexing of those descendants is not even tried.

In this case, the "Couldn't find actor (id: )" error is thrown indexing information objects when it tries to index a name access point in here . This seems to be a regression introduced in #12718 so it only happens in qa/2.6.x.


Related issues

Related to Access to Memory (AtoM) - Bug #12718: Actors associated with non-creation event types linked to... Feedback 01/16/2019

History

#1 Updated by José Raddaoui Marín 8 months ago

  • Description updated (diff)

#2 Updated by José Raddaoui Marín 8 months ago

  • Status changed from New to Code Review
  • Assignee changed from José Raddaoui Marín to Mike Cantelon

#3 Updated by Mike Cantelon 8 months ago

  • Status changed from Code Review to Feedback
  • Assignee changed from Mike Cantelon to José Raddaoui Marín

Looks good to me!

#4 Updated by José Raddaoui Marín 8 months ago

  • Status changed from Feedback to QA/Review
  • Assignee deleted (José Raddaoui Marín)

Thanks Mike. Merged in qa/2.6.x.

There are two issues to test in here:

- The regression introduced in #12718: and archival description with a related event was failing to index. The event must not be a creation event and it must not have a linked authority record. After these fixes the description should be indexed.

- The descendants of a description that fails to index are not indexed either. See the notes in https://projects.artefactual.com/issues/10333#note-4 to reproduce such a failure in the indexing process. After these fixes the failing description error should be shown at the end of the task, but the description's descendants should be indexed and the count and total should match.

#5 Updated by Dan Gillean 7 months ago

  • Status changed from QA/Review to Verified
  • Requires documentation set to No

#6 Updated by Dan Gillean 7 months ago

  • Related to Bug #12718: Actors associated with non-creation event types linked to descriptions should still display in the name access points field, and be available in the Names facet on description browse/search pages added

Also available in: Atom PDF