Hi Matt Good to know you've found a way around it... I'll check it out when I have some time - hopefully this week.
Cheers -- Pat On 19/01/2009, at 2:18 PM, Matt Murphy wrote: > > Just a note to Pat and others: > > I was able to stop the exception from being raised by explicitly > passing match_mode of :boolean or :extended. > > I'd be curious if anyone has any guesses as to why the exception was > occurring (and still does with the other match modes). > > > > On Jan 13, 3:24 pm, Matt Murphy <[email protected]> wrote: >> I should also add that I tried adding the @ character to the charset >> table in the sphinx.yml settings as well as escaping the search >> string >> first using Riddle.escape >> >> On Jan 13, 12:30 pm, "Matt Murphy" <[email protected]> wrote: >> >>> In the master branch with the stable version of sphinx I'm able to >>> search for an email address... but it seems that in the 0.9.9 branch >>> there is an error when I do this: >> >>> Model.search("someone@") >> >>> results in: >> >>> ArgumentError: comparison of Fixnum with nil failed >>> from /projects/foo/vendor/rails/activesupport/lib/ >>> active_support/whiny_nil.rb:55:in >>> `<' >>> from /projects/foo/vendor/plugins/thinking_sphinx/lib/../ >>> vendor/riddle/lib/riddle/client.rb:501 >> >>> Does anyone know if there is a workaround for this? >> >>> Escaping it with \ does not seem to make any difference... > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
