Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-102

StructureMerger: new termids for terms only in 2nd lexicon are not used

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: .structures
    • Labels:
      None

      Description


      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

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

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

          Show
          craigm Craig Macdonald added a comment - Fix is trivial, lee2.getValue().setTermId(newCode); wss missing.

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: