Sorry, there's no way to set filter orders at this point in time. Feel free to patch, but not sure of the best way to do that.
-- Pat On 10/07/2009, at 7:07 PM, Alex wrote: > > Some of the filters are on attributes with ranges. > > Can I adjust the order of those? > > > On Jul 10, 12:14 pm, Pat Allan <[email protected]> wrote: >> 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 -~----------~----~----~----~------~----~------~--~---
