Hi Jason I think - is considered a word separator, so '@tag 3-point' would look for both 3 and point in the tag field. The only difference that I know of with '@tag "3-point"' is that it will then look for that exact phrase in the tag field. So, for what you want to do, there shouldn't be a downside at all.
Hope this helps. Cheers -- Pat On 24/04/2009, at 3:06 AM, Jason wrote: > > Hi, > > (Thanks to Pat for writing Thinking Sphinx. What a great project. > http://verifiable.com relies on it for all our object navigation). > > I noticed that some of our tag searches were failing (specifically, > the tag "3-point"). > > If in search.rb, search_conditions() I change > > search_string << "@#{key} # > {val}" > > to > > search_string << "@#{key} \"#{val} > \"" > > that solves the problem. Is there a downside to doing this? > > thanks, > Jason > > ps: I did a brief search in this group and didn't see anything along > these lines. Apologies if this is covered ground and my search-fu > just drools. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
