public class LuceneUtils extends Object
Constructor and Description |
---|
LuceneUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
generateIndex(File CrawlLog,
BufferedReader cdxreader,
File indexDir)
Generate a Lucene index from a crawllog, and a CDXReader.
|
static void |
makeDummyIndex(File indexLocation)
Create Dummy Lucene index.
|
public LuceneUtils()
public static void makeDummyIndex(File indexLocation) throws IOFailure
indexLocation
- location of indexIOFailure
public static void generateIndex(File CrawlLog, BufferedReader cdxreader, File indexDir)
CrawlLog
- some crawllogcdxreader
- some CDXReaderindexDir
- Destinationdirector for the Lucene index.Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.