Descriptions not indexed on search:populate task
|Category:||Search / Browse|
|Target version:||Release 2.6.0|
|Google Code Legacy ID:||Tested version:||2.6|
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.
#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.