[ 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 Changed to use non-capturing groups. Also reversed the order the regular expressions are run. Both changes are for performance only. > 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 > > > 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.