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

SSDVA should detect a mismatch in the SSDVReaderState

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: modules/facet
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: