Project

General

Profile

Task #2184

Story #2067: Refactor the index task generator and processor to improve scalability and performance

Archived objects must be removed from the index

Added by Dave Vieglais about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_indexer
Start date:
2012-01-10
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

When the SystemMetadata.archived boolean value is set to True, the object should not appear in searches, and so must be removed from the index.

This task is to ensure the index task processor implementation conforms to this.

History

#1 Updated by Skye Roseboom about 12 years ago

Also need to properly handle resource maps if there is any special processing requirements.

Need to remove items that have 'obsoletedBy' set?

#2 Updated by Skye Roseboom about 12 years ago

  • Status changed from New to In Progress

#3 Updated by Skye Roseboom about 12 years ago

Yes, obsoletedBy items should be removed from the index.

Also need to configure a test case for for archived, obsoleted resource map references - say between science metadata and the map. If science metadata is referenced by multiple maps - must also update the science metadata contains/map references to eliminate archived/obsoletedby references. TEST CASE NEEDED FOR THIS.

#4 Updated by Skye Roseboom about 12 years ago

  • Status changed from In Progress to Closed

Completed handling of removing items in data packages from index when archived, obsoleted. Also added logic to prevent re-adding archived/obsoleted items to index on data package update.

Test scenarios covered in SolrIndexDeleteTest unit test.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)