com.softslate.commerce.businessobjects.core
Class CommandLineReindexLucene

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.CommandLineSupport
      extended by com.softslate.commerce.businessobjects.core.CommandLineReindexLucene

public class CommandLineReindexLucene
extends CommandLineSupport

A class which may be run from the command line to reindex the Lucene index. This command is useful in stores where product data changes regularly, as a way to synchronize the database with the Lucene index. See the accompanying commandLineLuceneReindex.sh file for a Unix shell script that may be used to fire off the example. This example uses the CommandLineSupport class to initialize all of the system objects such as the BusinessObjectFactory and the DAOFactory. It then initializes LuceneProcessor, calling the reindex() method to execute the reindexing.

Author:
dtobey

Field Summary
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
CommandLineReindexLucene()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method, which gets invoked when executing this class from the command line.
 
Methods inherited from class com.softslate.commerce.businessobjects.core.CommandLineSupport
initializeSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

static org.apache.commons.logging.Log log
Constructor Detail

CommandLineReindexLucene

public CommandLineReindexLucene()
Method Detail

main

public static void main(java.lang.String[] args)
Main method, which gets invoked when executing this class from the command line.

Parameters:
args -


Copyright ? SoftSlate, LLC 2003?2005