[TR-95] FSArrayFile.ArrayFileIterator.skip() doesnt update entry index correctly Created: 02/Mar/10  Updated: 05/Mar/10  Resolved: 02/Mar/10

Status: Resolved
Project: Terrier Core
Component/s: .structures
Affects Version/s: 3.0
Fix Version/s: 3.0

Type: Bug Priority: Major
Reporter: Craig Macdonald Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None

FSArrayFile.ArrayFileIterator.skip() doesn't update entry index correctly. This can mean reading BitPostings in MR mode will not behave as expected incorrectly - indeed, some splits may even be empty!

Comment by Craig Macdonald [ 02/Mar/10 ]

If there had been a unit test for FSArrayFile, this would have been easily caught.

Comment by Craig Macdonald [ 02/Mar/10 ]

Resolution of bug was trivial. I also added a Junit test case to ensure that FSArrayFile behaves as expected.

Generated at Thu Dec 03 16:40:18 GMT 2020 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.