com.joanju.cgs.lucene
Class IndexAdmin

java.lang.Object
  extended by com.joanju.cgs.lucene.IndexAdmin

public class IndexAdmin
extends java.lang.Object


Constructor Summary
IndexAdmin()
           
 
Method Summary
static void clearIndex()
          Called when 'Clear Database' is clicked on the Admin page.
static void clearLock()
          Called on web app startup, in case a stale lock file exists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexAdmin

public IndexAdmin()
Method Detail

clearIndex

public static void clearIndex()
                       throws java.io.IOException
Called when 'Clear Database' is clicked on the Admin page.

Throws:
java.io.IOException

clearLock

public static void clearLock()
                      throws java.lang.Exception
Called on web app startup, in case a stale lock file exists.

Throws:
java.lang.Exception


Copyright © 2008 Joanju Software. All Rights Reserved.