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

SSDVA should detect a mismatch in the SSDVReaderState

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.4, 6.0
    • modules/facet
    • None
    • New

    Description

      This is trappy today: every time you open a new reader, you must create a new SSDVReaderState (this computes the seg -> global ord mapping), and pass that to SSDVA.

      But if this gets messed up (e.g. you pass an old SSDVReaderState) it will result in confusing AIOOBE, or silently invalid results.

      Attachments

        1. LUCENE-5090.patch
          6 kB
          Michael McCandless
        2. LUCENE-5090.patch
          6 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: