lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Furkan KAMACI <furkankam...@gmail.com>
Subject Re: Escaping & character at Query
Date Wed, 29 May 2013 15:05:34 GMT
When I write:

solr/select?q="kelile\&dimle"

it still says:

<lst name="params">
<str name="dimle""/>
*<str name="q">"kelile\</str>*
</lst>



2013/5/29 Carlos Bonilla <carlosbonilla84@gmail.com>

> Hi,
> try with double quotation marks (" ").
>
> Carlos.
>
>
> 2013/5/29 Furkan KAMACI <furkankamaci@gmail.com>
>
> > 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?
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message