Task #5945

Feature #5810: Implement SOLR-based search

Task #5921: Design and implement Metacat-Index module

Implement reindex action for individual PID

Added by Jing Tao about 9 years ago. Updated about 9 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


We may need issue a command to metacat-index to regenerate index for all missed ids or just regenerate one for a specified id.

If we add the servlet API to the metacat-index, we need to have authentication mechanism here. This is not what we want. We may add the API to the metacat. But we need to find a way to pass the information from metacat to metacat-index who really build the solr index.


#1 Updated by ben leinfelder about 9 years ago

  • Priority changed from Normal to High
  • Subject changed from Add other communication between metacat and metacat-index to Implement reindex action for individual PID

Proposal is:
-create Metacat action "reindex" that takes an identifier.
-Metacat places the SystemMetadata for that identifier on the hzIndexQueue structure so that metacat-index is notified of the event.

#2 Updated by ben leinfelder about 9 years ago

  • Assignee changed from Jing Tao to ben leinfelder
  • Status changed from New to In Progress

This is in trunk now. You must be logged in as admin of Metacat in order to invoke it which makes a JUnit test difficult to write...
Form is: /knb/metacat?action=reindex&pid={the identifier}

If you omit the pid parameter, ALL pids are added to the indexQueue. The pid parameter can also be a list of pids.

#3 Updated by ben leinfelder about 9 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF