[TR-142] Matching implementations should not overwrite the EntryStatistics stored in the MatchingQueryTerms object Created: 10/Nov/10  Updated: 05/Apr/11  Resolved: 17/Feb/11

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

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


 Description   
Matching implementations should not overwrite the EntryStatistics stored in the MatchingQueryTerms object.

This bug was difficult to find, but easy to fix. However, a test case is absolutely required due to the subtlety of the bug. Matching implementations don't yet have test cases.

 Comments   
Comment by Craig Macdonald [ 17/Feb/11 ]

This was resolved by adding a check in BaseMatching. Additionally, unit tests for Matching were introduced, which also cover this test case.

Generated at Sat Dec 16 16:36:54 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.