Project

General

Profile

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 over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
Start date:
05/24/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

History

#1 Updated by ben leinfelder over 6 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 over 6 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 over 6 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF