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

Wordbreak spellchecker throws IOOBE with Occur.MUST term

    Details

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

      Description

      Using the WordBreakSolrSpellChecker, if a user queries for "+foo barbaz" and "bar baz" is a suggestion for "barbaz", Solr will throw an IndexOutOfBoundsException. As a result, a server driven by user queries might throw a certain percentage of HTTP 500 responses as users hit this.

        Attachments

        1. solr8175.patch
          9 kB
          Ryan Josal
        2. SOLR-8175.patch
          3 kB
          James Dyer

          Issue Links

            Activity

              People

              • Assignee:
                jdyer James Dyer
                Reporter:
                rjosal Ryan Josal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: