Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

test_valueweightsource5.patch (1.1 KB ) - added by Olly Betts 16 years ago.
Add test valueweightsource5

Download all attachments as: .zip

Change History (3)

by Olly Betts, 16 years ago

Add test valueweightsource5

comment:1 by Olly Betts, 15 years ago

Resolution: fixed
Status: newclosed

The infinite loop is already fixed in trunk. I'll apply the new testcase shortly.

comment:2 by Olly Betts, 15 years ago

Testcase valueweightsource5 committed to trunk in r11705.

Note: See TracTickets for help on using tickets.