#299 closed defect (fixed)
ValueWeightPostingSource infinite loops if docid 0xffffffff is used
| Reported by: | Olly Betts | Owned by: | Olly Betts |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1.0 |
| Component: | Library API | Version: | SVN trunk |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Operating System: | All |
Description
The implementation assumes that last_docid + 1 > last_docid, which goes wrong if last_docid has its maximum value.
Attached patch adds a test which never completes because of this.
Attachments (1)
Change History (3)
by , 17 years ago
| Attachment: | test_valueweightsource5.patch added |
|---|
comment:1 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
The infinite loop is already fixed in trunk. I'll apply the new testcase shortly.
Note:
See TracTickets
for help on using tickets.

Add test valueweightsource5