You need to UUEncode the & with %26:
...solr/select?q=kelile%26dimle
Normally, & introduces a new URL query parameter in the URL.
-- Jack Krupansky
-----Original Message-----
From: Furkan KAMACI
Sent: Wednesday, May 29, 2013 10:55 AM
To: solr-user@lucene.apache.org
Subject: Escaping & character at Query
I use Solr 4.2.1 and I analyze that keyword:
kelile&dimle
at admin page:
WT
kelile&dimle
SF
kelile&dimle
TLCF
kelile&dimle
However when I escape that charter and search it:
solr/select?q=kelile\&dimle
here is what I see:
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">148</int>
<lst name="params">
<str name="dimle"/>
*<str name="q">kelile\</str>*
</lst>
</lst>
I have edismax as default query parser. How can I escape that "&"
character, why it doesn't like that?:
<str name="q">kelile\&dimle</str>
Any ideas?