Package org.dlese.dpc.index
Class WebLogIndexingService
java.lang.Object
org.dlese.dpc.index.WebLogIndexingService
Indexes Web and query log files using Lucene.
- Author:
- John Weatherley
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturn a string for the current time and date, sutiable for display in log files and output to standout:static StringReturn a string for the current time and date, sutiable for display in log files and output to standout:voidlongindexWebLogFile(File webLogFile) static voidThe main program for the WebLogIndexingServicestatic voidsetDebug(boolean db) Sets the debug attribute objectboolean
-
Constructor Details
-
WebLogIndexingService
-
-
Method Details
-
main
The main program for the WebLogIndexingService- Parameters:
args- The command line arguments
-
indexFiles
public void indexFiles() -
indexWebLogFile
- Throws:
IOException
-
swapIndexes
public boolean swapIndexes() -
getSimpleDateStamp
Return a string for the current time and date, sutiable for display in log files and output to standout:- Returns:
- The dateStamp value
-
getDateStamp
Return a string for the current time and date, sutiable for display in log files and output to standout:- Returns:
- The dateStamp value
-
setDebug
public static void setDebug(boolean db) Sets the debug attribute object- Parameters:
db- The new debug value
-