[TR-102] StructureMerger: new termids for terms only in 2nd lexicon are not used Created: 10/Mar/10  Updated: 10/Mar/10  Resolved: 10/Mar/10

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

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


In the StructureMerger, new termids have to be assigned for terms that only occur in the 2nd source index. These are assigned as termids greater than the number of terms in the first partition. However, an improved unit test has shown that these are not being used. I.e. largestTermId != NUMBER_UNIQUE_TERMS -1

Comment by Craig Macdonald [ 10/Mar/10 ]

Fix is trivial, lee2.getValue().setTermId(newCode); wss missing.

Generated at Wed Jul 17 06:04:44 BST 2019 using JIRA 7.1.1#71004-sha1:d6b2c0d9b7051e9fb5e4eb8ce177ca56d91d7bd8.