Lucene - Core
  1. Lucene - Core
  2. LUCENE-5090

SSDVA should detect a mismatch in the SSDVReaderState

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, Trunk
    • 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.

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

        Activity

        Michael McCandless created issue -
        Shai Erera made changes -
        Field Original Value New Value
        Component/s modules/facet [ 12314601 ]
        Michael McCandless made changes -
        Attachment LUCENE-5090.patch [ 12590712 ]
        Michael McCandless made changes -
        Attachment LUCENE-5090.patch [ 12590715 ]
        Michael McCandless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Steve Rowe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development