Hi Alex You can create the query string yourself instead of using the :conditions hash: Model.search "cats @city seattle @region see", :match_mode => :extended2
Cheers -- Pat On 10/07/2009, at 3:08 PM, Alex wrote: > > In response to a performance issue, it was suggested that I make sure > the most selective filters are used first, since Sphinx is apparently > not smart enough to do that automatically like a SQL database normally > would. TS seems to use a hash, so this doesn't seem possible right > now. > > Any suggestion on where the best place to hack in a fix might be? > > The post: > > > http://sphinxsearch.com/forum/view.html?id=3888&new=1 > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
