On Thu, 2012-09-27 at 13:49 +0200, aniljayanti wrote:
> But getting error with below.
> 
> q=Oot \& Aboot
> 
> Error message :
> --------------
> message org.apache.lucene.queryParser.ParseException: Cannot parse 'Oot \':
> Lexical error at line 1, column 6. Encountered: <EOF> after : ""

It seems like you are sending the query by performing a REST-call.
You need to URL-escape those, because & in an url is a delimiter for
arguments.

Instead of
http://localhost:8983/solr/collection1/select/?q=Oot \& Aboot
you need to send
http://localhost:8983/solr/collection1/select/?q=Oot%20%5C%26%20Aboot

Reply via email to