What's the equivalent to this call in Thinking Sphinx 2.0.10?

Walter

On Jan 23, 2014, at 5:10 PM, Pat Allan wrote:

> I’m pretty sure this is because - is a special character in Sphinx, so you’ll 
> need to escape it.
> 
> Wrap the query value in Riddle::Query.escape(params[:query]) and then pass it 
> into the search call.
> 
> — 
> Pat
> 
> On 24 Jan 2014, at 4:47 am, Gordon B. Isnor <[email protected]> wrote:
> 
>> A search in my application for anti-- yields a 500 error. anti- is no 
>> problem.
>> 
>> Wondering if anybody knows why this might be the case, and what I might do 
>> to fix this?
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Thinking Sphinx" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/thinking-sphinx.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to