So as there was no quick work around to this issue, we simply change the http
method from get to post, to avoid further problems which could be triggered
by user input too. though this violates the restful standards... at least we
have something running properly
-
Zeki ama calismiyor... Cali
Backslashes are used to escape special characters in queries, but the
backslash must in turn be encoded in the URL as %5C.
-- Jack Krupansky
-Original Message-
From: deniz
Sent: Thursday, February 27, 2014 1:36 AM
To: solr-user@lucene.apache.org
Subject: Searching with special chars
indexing
and during searching before passing them along to my solr layer.
Hope that helps,
Robi
-Original Message-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Thursday, February 27, 2014 7:45 AM
To: solr-user@lucene.apache.org
Subject: Re: Searching with special chars
Good luck! You'll need it.
Problem is this is such a sticky wicket. You can
move the cleaning up to the PHP layer, that is
strip out the parens.
You could write a Solr component that got the
query _very_ early and transformed it. You'd
have to get here before parsing.
Either way, though, you'll