public abstract class AbstractLuceneIterator extends com.google.common.collect.AbstractIterator<Vector>
Modifier and Type | Field and Description |
---|---|
protected Bump125 |
bump |
protected String |
field |
protected org.apache.lucene.index.IndexReader |
indexReader |
protected int |
maxErrorDocs |
protected int |
nextDocId |
protected long |
nextLogRecord |
protected double |
normPower |
protected int |
numErrorDocs |
protected int |
skippedErrorMessages |
protected TermInfo |
terminfo |
protected Weight |
weight |
Constructor and Description |
---|
AbstractLuceneIterator(TermInfo terminfo,
double normPower,
org.apache.lucene.index.IndexReader indexReader,
Weight weight,
double maxPercentErrorDocs,
String field) |
Modifier and Type | Method and Description |
---|---|
protected Vector |
computeNext() |
protected abstract String |
getVectorName(int documentIndex)
Given the document name, derive a name for the vector.
|
endOfData, hasNext, next, peek
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final org.apache.lucene.index.IndexReader indexReader
protected final String field
protected final TermInfo terminfo
protected final double normPower
protected final Weight weight
protected final Bump125 bump
protected int nextDocId
protected int maxErrorDocs
protected int numErrorDocs
protected long nextLogRecord
protected int skippedErrorMessages
protected abstract String getVectorName(int documentIndex) throws IOException
documentIndex
- the lucene document index.IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.