As usual you got it spot on. Thanks.
Kveðja, Ægir Örn Símonarson On Tue, Apr 19, 2011 at 11:34 AM, Pat Allan <[email protected]>wrote: > That API call is mapped in Riddle (which is a dependency of Thinking > Sphinx): > Riddle.escape "search/for(some/thing)" > > Cheers > > -- > Pat > > On 19/04/2011, at 7:21 PM, agirorn wrote: > > > Im Getting this Error > > ThinkingSphinx::SphinxError: index product_core: syntax error, > > unexpected '/', expecting $end near '/ @visible 1' > > from ThinkingSphinx when I do a search that has any of the following > > characters /() > > > > I can fix it in my coed be escaping them be fore I do the search. > > > > Should this not be in the main Code Base of ThinkingSphinx > > > > Then I could just do Product.search 'search/for(some/thing)' > > And ThinkingSphinx would do the escaping > > > > Ther is an API call for doing it in Sphinx: > > http://sphinxsearch.com/docs/manual-0.9.9.html#api-func-escapestring > > > > -- > > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > [email protected]. > > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
