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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2, 1.3
    • 1.3
    • search
    • None
    • 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

              otis Otis Gospodnetic
              bdejong bram de jong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: