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

IterablePosting.EOL should be Integer.MAX_VALUE

    Details

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

      Description

      The IterablePosting contract is difficult to use.

      EOL should be larger than all documents, not smaller.
      getId() should return EOL when the posting list end is reached.

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Fixed in 5.x branch

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

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              nicola.tonellotto Nicola Tonellotto
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: