Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 3.5
-
Fix Version/s: 3.6
-
Component/s: .structures
-
Labels:None
Description
when you do next(x) and x is larger than any docId in a posting list, terrier goes into an infinite loop.
possible solution:
do
{
if (this.next() == EOL) return EOL;
} while(this.getId() < target);
return this.getId();
possible solution:
do
{
if (this.next() == EOL) return EOL;
} while(this.getId() < target);
return this.getId();
Committed r3705