Project

General

Profile

Actions

Task #5945

closed

Feature #5810: Implement SOLR-based search

Task #5921: Design and implement Metacat-Index module

Implement reindex action for individual PID

Added by Jing Tao almost 11 years ago. Updated over 10 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.

Actions #1

Updated by ben leinfelder over 10 years ago

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

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.

Actions #2

Updated by ben leinfelder over 10 years ago

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

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.

Actions #3

Updated by ben leinfelder over 10 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF