Re: Solr Json API How to escape space in search string

2016-03-07 Thread Jack Krupansky
Backslash in JSON just tells JSON to escape the next character, while what you really want is to pass a backslash through to the Solr query parser, which you can do with a double backslash. Alternatively, you could use quotes around the string in Solr, which would require you to escape the quotes

Re: Solr Json API How to escape space in search string

2016-03-07 Thread Yonik Seeley
On Mon, Mar 7, 2016 at 5:49 PM, Iana Bondarska wrote: > Hi All, > could you please tell me if escaping special characters in search keywords > works in json api. > e.g. I have document > { > "string_s":"new value" > } > And I want to query "string_s" field with keyword "new value". > In path para

Solr Json API How to escape space in search string

2016-03-07 Thread Iana Bondarska
Hi All, could you please tell me if escaping special characters in search keywords works in json api. e.g. I have document { "string_s":"new value" } And I want to query "string_s" field with keyword "new value". In path params api I can escape spaces in keyword as well as other special characters