Terrier Core

FSArrayFile.ArrayFileIterator.skip() doesnt update entry index correctly

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.0
  • Fix Version/s: 3.0
  • Component/s: .structures
  • Description:
    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!

Activity

Hide
Craig Macdonald added a comment - 02/Mar/10 9:08 PM

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

Show
Craig Macdonald added a comment - 02/Mar/10 9:08 PM If there had been a unit test for FSArrayFile, this would have been easily caught.
Hide
Craig Macdonald added a comment - 02/Mar/10 10:50 PM

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

Show
Craig Macdonald added a comment - 02/Mar/10 10:50 PM Resolution of bug was trivial. I also added a Junit test case to ensure that FSArrayFile behaves as expected.

People

Dates

  • Created:
    02/Mar/10 9:06 PM
    Updated:
    05/Mar/10 5:38 PM
    Resolved:
    02/Mar/10 10:50 PM