mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 08:19:23 +00:00
Remove useless todo. (#13589)
This commit is contained in:
parent
b42fd8e479
commit
c245ed2fb4
@ -85,8 +85,6 @@ public class PerThreadPKLookup {
|
||||
if (termsEnums[seg].seekExact(id)) {
|
||||
postingsEnums[seg] = termsEnums[seg].postings(postingsEnums[seg], 0);
|
||||
int docID = -1;
|
||||
// TODO: Can we get postings' last Doc directly? and return the last one we find.
|
||||
// TODO: Maybe we should check liveDoc whether null out of the loop?
|
||||
while ((docID = postingsEnums[seg].nextDoc()) != PostingsEnum.NO_MORE_DOCS) {
|
||||
if (liveDocs[seg] == null || liveDocs[seg].get(docID)) {
|
||||
return docBases[seg] + docID;
|
||||
|
Loading…
x
Reference in New Issue
Block a user