Open d-rivera-c-zz opened 9 years ago
Needs revalidation
I've had this issue- it's a problem with the solr library we are using being old and not correctly escaping special chars even though it has the feature.
@robbieaverill I haven't tried all chars but I can confirm it works with "
so I assume others too. Likewise, AND
and OR
seem to trigger this too.
Need to validate if this is a problem with SS4.
I get a 400 error in Solr if any of this characters are around
Sometimes it behaves well if the character is surrounded by letters instead of spaces, but should be better to escape them anyway. For example, searching for "Wellington/Petone" won't give an error, but "Wellington / Petone" will. I've added a preg_replace as a workaround, might be worth a look to include it as a fix in the module.
SolrIndex.php (line 376, function search() )