Solr
  1. Solr
  2. SOLR-589

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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

      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

          bram de jong created issue -
          Hoss Man made changes -
          Field Original Value New Value
          Link This issue relates to SOLR-490 [ SOLR-490 ]
          Hoss Man made changes -
          Link This issue relates to SOLR-422 [ SOLR-422 ]
          Hoss Man made changes -
          Link This issue relates to SOLR-161 [ SOLR-161 ]
          Sean Timm made changes -
          Attachment SOLR-589.patch [ 12383760 ]
          Sean Timm made changes -
          Attachment SOLR-589.patch [ 12383778 ]
          Sean Timm made changes -
          Attachment SOLR-589.patch [ 12388147 ]
          Otis Gospodnetic made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Assignee Otis Gospodnetic [ otis ]
          Shalin Shekhar Mangar made changes -
          Fix Version/s 1.3 [ 12312486 ]
          Affects Version/s 1.3 [ 12312486 ]
          Yonik Seeley made changes -
          Link This issue is blocked by SOLR-1553 [ SOLR-1553 ]
          Uwe Schindler made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Otis Gospodnetic
              Reporter:
              bram de jong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development