org.mycore.frontend.cli
Class MCRSearcherCommands

java.lang.Object
  extended by org.mycore.frontend.cli.MCRAbstractCommands
      extended by org.mycore.frontend.cli.MCRSearcherCommands
All Implemented Interfaces:
MCRExternalCommandInterface

public class MCRSearcherCommands
extends MCRAbstractCommands

provides static methods to manipulate MCRSearcher indexes.

Author:
Thomas Scheffler (yagee)

Field Summary
 
Fields inherited from class org.mycore.frontend.cli.MCRAbstractCommands
command, CONFIG
 
Constructor Summary
MCRSearcherCommands()
           
 
Method Summary
static void repairContentIndex()
          repairs all content indexes
static void repairMetaIndex()
          repairs all metadata indexes
 
Methods inherited from class org.mycore.frontend.cli.MCRAbstractCommands
getPossibleCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRSearcherCommands

public MCRSearcherCommands()
Method Detail

repairMetaIndex

public static void repairMetaIndex()
                            throws IOException,
                                   JDOMException
repairs all metadata indexes

Throws:
IOException
JDOMException

repairContentIndex

public static void repairContentIndex()
                               throws IOException,
                                      JDOMException
repairs all content indexes

Throws:
IOException
JDOMException