public class XtfLimIndexReader extends LimIndexReader
LimIndexReader except it also does a periodic check if
the request has taken too long and should kill itself.| Modifier and Type | Field and Description |
|---|---|
private int |
killCheckCounter |
| Constructor and Description |
|---|
XtfLimIndexReader(IndexReader toWrap,
int workLimit)
Construct the index reader
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
work(int amount)
Called by LimTermDocs and LimTermPositions to notify us that a certain
amount of work has been done.
|
directory, docFreq, doClose, doCommit, document, document, doDelete, doSetNorm, doUndeleteAll, equals, getCurrentVersion, getCurrentVersion, getCurrentVersion, getFieldNames, getTermFreqVector, getTermFreqVectors, getVersion, hasDeletions, hashCode, hasNorms, indexExists, indexExists, indexExists, isCurrent, isDeleted, isLocked, isLocked, isOptimized, maxDoc, norms, norms, numDocs, open, open, open, setNorm, termDocs, termDocs, termPositions, termPositions, terms, terms, toString, unlockpublic XtfLimIndexReader(IndexReader toWrap,
int workLimit)
protected final void work(int amount)
throws IOException
work in class LimIndexReaderamount - How much work has been done. The unit is typically one
term or term-position.IOException