gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse
Class IndexFuseWorker
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse.IndexFuseWorker
- All Implemented Interfaces:
- Runnable
public class IndexFuseWorker
- extends Thread
Helper thread class used to perform the fuse operation
- Author:
- UoA
|
Constructor Summary |
IndexFuseWorker(gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[] contentReaders,
gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[][] metaReaders,
String[] colIDs,
double weightContent,
double weightMetadata,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
Creates a new IndexFuseWorker |
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
IndexFuseWorker
public IndexFuseWorker(gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[] contentReaders,
gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[][] metaReaders,
String[] colIDs,
double weightContent,
double weightMetadata,
String objectIdFieldName,
String collectionFieldName,
String rankFieldName,
long timeout,
TimeUnit timeUnit,
StatsContainer stats)
- Creates a new
IndexFuseWorker
- Parameters:
writer - The RSXMLWriter to write records tocontentReaders - The iterators over the content collections inputmetaReaders - The iterators over the metadata collections inputweightContent - The weight of the content scoringweightMetadata - The weight of the metadata scoringstats - statistics
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Runnable.run()
Copyright © 2013. All Rights Reserved.