Page tree
Skip to end of metadata
Go to start of metadata
Title (Goal)Trigger the re-index of a collection
Primary ActorAdmin
Scope 
Level 
Story (A paragraph or two describing what happens)

An admin has initiated a change across a collection or community (facet change, bulk metadata update, collection move) and needs the discovery index to be in sync with this change. The admin can select a specific collection or community and trigger the refresh of the index.

2 Comments

  1. We have an implementation of this feature that runs outside of DSpace. The following commands are submitted to accomplish this task. 

    • curl "${SOLR}/search/update?stream.body=%3Cupdate%3E%3Cdelete%3E%3Cquery%3Elocation.${SRCH}:${VAL}%3C/query%3E%3C/delete%3E%3C/update%3E" 
      • SRCH is set to col or to comm
      • VAL is the collection or community index
    • ${DSROOT}/bin/dspace index-discovery

       

  2. Closely related to another use case: Admin UI - Rebuild the discovery index , so I've interlinked them. They likely could be implemented in a similar fashion.