Details

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

      Description

      when you do next(x) and x is larger than any docId in a posting list, terrier goes into an infinite loop.

      possible solution:
      do
      {
      if (this.next() == EOL) return EOL;

      } while(this.getId() < target);
      return this.getId();

        Attachments

          Activity

          catena.matteo Matteo Catena created issue -
          Hide
          craigm Craig Macdonald added a comment -

          Committed r3705

          Show
          craigm Craig Macdonald added a comment - Committed r3705
          craigm Craig Macdonald made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 3.6 [ 10060 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              catena.matteo Matteo Catena
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: