Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14073

Fix segment look ahead NPE in CollapsingQParserPlugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: None
    • Labels:
      None

      Description

      The CollapsingQParserPlugin has a bug that if every segment is not visited during the collect it throws an NPE. This causes the CollapsingQParserPlugin to not work when used with any feature that short circuits the segments during the collect. This includes using the CollapsingQParserPlugin twice in the same query and the time limiting collector.

        Attachments

        1. SOLR-14073.patch
          5 kB
          Joel Bernstein
        2. SOLR-14073.patch
          4 kB
          Joel Bernstein
        3. SOLR-14073.patch
          7 kB
          Joel Bernstein
        4. SOLR-14073-expand.patch
          2 kB
          Munendra S N

          Issue Links

            Activity

              People

              • Assignee:
                jbernste Joel Bernstein
                Reporter:
                jbernste Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: