Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5691

DocTermsOrds lookupTerm is wrong in some cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9, 6.0
    • None
    • None
    • New

    Description

      needs the following two conditions:

      • underlying termsenum supports ord()
      • the term you lookup would be inserted at the end (e.g. seek returns END)

      the fix is simple, it just needs to handle SeekStatus.END properly.

      Attachments

        1. LUCENE-5691.patch
          2 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: