[TR-198] Conservative QE incorrectly weights queryterms Created: 23/May/12  Updated: 24/May/12  Resolved: 24/May/12

Status: Resolved
Project: Terrier Core
Component/s: .querying
Affects Version/s: 3.5
Fix Version/s: 3.6

Type: Bug Priority: Trivial
Reporter: Saúl Vargas Assignee: Craig Macdonald
Resolution: Fixed  
Labels: None

Attachments: File DFRBagExpansionTerms.java.patch    

 Description   
In the class org.terrier.querying.DFRBagExpansionTerms (subclass of org.terrier.querying.ExpansionTerms) the "Conservative QE" won't work because the variable int i (line 170) is not incremented while iterating over the set of original query terms, i.e., the variable SingleTermQuery[] results (line 151) won't be properly filled.

Possible patch attached.

 Comments   
Comment by Craig Macdonald [ 23/May/12 ]

Great catch Saul!

Comment by Craig Macdonald [ 24/May/12 ]

Committed r3617

Generated at Mon Dec 11 22:53:39 GMT 2017 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.