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

ProximityIterablePosting does not calculate the total number of matching phrases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 5.0
    • Component/s: .structures
    • Labels:
      None

      Description

      The ProximityIterablePosting does not calculate the within-document frequency of n-grams. More over the attributes Id and the document lenght are not handled and thier values are not well assigned.

        Attachments

          Activity

          Hide
          richardm Richard McCreadie added a comment -

          That is correct, the current implementation only checks to see if the document matches the term-window constraints (frequency will be 1 or 0)

          This was a design decision to make the calculation faster. Ideally whether to exit early should be configurable depending on whether knowing the frequency is important to the application.

          Flagging for 4.1.

          Show
          richardm Richard McCreadie added a comment - That is correct, the current implementation only checks to see if the document matches the term-window constraints (frequency will be 1 or 0) This was a design decision to make the calculation faster. Ideally whether to exit early should be configurable depending on whether knowing the frequency is important to the application. Flagging for 4.1.
          Hide
          craigm Craig Macdonald added a comment -

          Wont make 4.1, bumping to 4.2.

          Show
          craigm Craig Macdonald added a comment - Wont make 4.1, bumping to 4.2.
          Hide
          craigm Craig Macdonald added a comment -

          This has been handled as part of 5.0

          Show
          craigm Craig Macdonald added a comment - This has been handled as part of 5.0
          Hide
          craigm Craig Macdonald added a comment -

          Fixed in 5.x tree

          Show
          craigm Craig Macdonald added a comment - Fixed in 5.x tree

            People

            • Assignee:
              richardm Richard McCreadie
              Reporter:
              mhidy Abdelkader EL MAHDAOUY
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: