public class ThreadedBatchIndexing extends BatchIndexing
BatchIndexing.Command
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger
The logger used
|
blocks, path, prefix
Constructor and Description |
---|
ThreadedBatchIndexing(String _path,
String _prefix,
boolean _singlePass) |
ThreadedBatchIndexing(String _path,
String _prefix,
boolean _singlePass,
int threads) |
Modifier and Type | Method and Description |
---|---|
void |
index() |
protected static Collection |
loadCollection(List<String> files) |
void |
setMaxThreads(int threads)
Define maximum number of threads in use.
|
public ThreadedBatchIndexing(String _path, String _prefix, boolean _singlePass)
protected static Collection loadCollection(List<String> files)
public void setMaxThreads(int threads)
public void index()
index
in class BatchIndexing
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow