You are not escaping the Lucene query parser special characters:

+ - && || ! ( ) { } [ ] ^ " ~ * ? : \ /

 
 
-----Original message-----
> From:Furkan KAMACI <furkankam...@gmail.com>
> Sent: Tuesday 4th March 2014 16:57
> To: solr-user@lucene.apache.org
> Subject: Id As URL for Solrj
> 
> Hi;
> 
> This maybe a simple question but when I query from Admin interface:
> 
> id:am.mobileworld.www:http/
> 
> returns me one document as well. However when I do it from Solrj with
> deleteById it does not. Also when I send a query via Solrj it returns me
> all documents (for id, id:am.mobileworld.www:http/ ). I've escaped the
> terms, URL encoded  and ...
> 
> What is the mos appropriate for it?
> 
> Thanks;
> Furkan KAMACI
> 

Reply via email to