|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectBoostSet.DocIter
private class BoostSet.DocIter
Iterates all the document keys in an index
| Field Summary | |
|---|---|
(package private) String |
docKey
|
(package private) boolean |
done
|
(package private) String |
field
|
(package private) TermEnum |
termEnum
|
(package private) TermPositions |
termPositions
|
| Constructor Summary | |
|---|---|
BoostSet.DocIter(IndexReader indexReader,
String field)
Construct from an index reader |
|
| Method Summary | |
|---|---|
(package private) void |
close()
Clean up |
(package private) int |
docId()
Gets the Lucene document ID of the current document |
(package private) boolean |
done()
Return true if there are no more documents to read |
(package private) String |
key()
Gets the key of the current document |
(package private) void |
next()
Advances to the next document in the index |
private void |
readDocKey()
Fetch the current document key; update done |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean done
String docKey
String field
TermPositions termPositions
TermEnum termEnum
| Constructor Detail |
|---|
BoostSet.DocIter(IndexReader indexReader,
String field)
throws IOException
IOException| Method Detail |
|---|
boolean done()
String key()
int docId()
throws IOException
IOException
void next()
throws IOException
IOException
void close()
throws IOException
IOExceptionprivate void readDocKey()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||