On 4/16/2015 7:09 AM, Steven White wrote:
> I cannot use escapeQueryChars method because my app interacts with Solr via
> REST.
> 
> The summary of your email is: client's must escape search string to prevent
> Solr from failing.
> 
> It would be a nice addition to Solr to provide a new query parameter that
> tells it to treat the query text as literal text.  Doing so, means you
> remove the burden placed on clients to understand and escape reserved Solr
> / Lucene tokens.

That's a good idea, although we might already have that.

I wonder what happens if you include defType=term with your request?
That works for edismax, it might work for other query parsers, at least
on the q parameter.

Thanks,
Shawn

Reply via email to