You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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() )
The text was updated successfully, but these errors were encountered: