You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Sean Timm (JIRA)" <ji...@apache.org> on 2008/08/13 16:34:44 UTC

[jira] Updated: (SOLR-589) DisMaxRequestHandler crashes on badly formed query strings ( combinations of "-" and "+" )

     [ https://issues.apache.org/jira/browse/SOLR-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Timm updated SOLR-589:
---------------------------

    Attachment: SOLR-589.patch

Simplified one of the regular expressions and improved performance for queries with a large number of sequential +/- operators.  Added two additional test cases to test these scenarios.

> DisMaxRequestHandler crashes on badly formed query strings ( combinations of "-" and "+" )
> ------------------------------------------------------------------------------------------
>
>                 Key: SOLR-589
>                 URL: https://issues.apache.org/jira/browse/SOLR-589
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 1.2
>         Environment: all platforms
>            Reporter: bram de jong
>            Priority: Minor
>         Attachments: SOLR-589.patch, SOLR-589.patch, SOLR-589.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.