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

DisMaxRequestHandler crashes on badly formed query strings ( combinations of "-" and "+" )

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2, 1.3
    • Fix Version/s: 1.3
    • Component/s: search
    • Labels:
      None
    • Environment:

      all platforms

      Description

      The DisMaxRequestHandler parser crashes on strings which contain double dashes or various combinations of - and + like:

      chocolate cookie -
      chocolate -+cookie
      chocolate --cookie
      chocolate - - cookie

      Originally found by me:
      http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200806.mbox/browser

      And verified by Sean Tim:
      http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200806.mbox/browser

        Attachments

        1. SOLR-589.patch
          3 kB
          Sean Timm
        2. SOLR-589.patch
          3 kB
          Sean Timm
        3. SOLR-589.patch
          4 kB
          Sean Timm

        Issue Links

          Activity

            People

            • Assignee:
              otis Otis Gospodnetic
              Reporter:
              bdejong bram de jong

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment