Hi,

I am using Drupal 7.16 and apache Solr module version 7.x-1.1 (solr server 3.6). All working fine except + and - signs.
If I try to search with single sign either + or -, it give me below error:
"Search is temporarily unavailable. If the problem persists, please contact the site administrator."
In log, it is showing "HTTP ERROR 400" for the same.

I read somewhere that with the use of "edismax" plugin, it can be resolved. So can anyone help me with this?

** Just saw that same problem exists on Acquia site as well. to see this, go here:
http://www.acquia.com/search/site/acquia
and enter + or - sign in search box.
http://www.acquia.com/search/site/%252B

Thanks
Rash

Comments

geerlingguy’s picture

Version: 7.x-1.1 » 7.x-1.x-dev

Similarly, I'm getting reports that searches like l'something (french language) and searches with a dash or plus sign (as above) are returning this error as well.

I'm going to try upgrading to Solr 3.x and see if the problem goes away (could be related to the dismax/edismax parser).

pwolanin’s picture

This is a well known and long-standing bug with Solr itself that it chokes on a trailing operator. https://issues.apache.org/jira/browse/SOLR-874

pwolanin’s picture

Issue summary: View changes

example site added