http://github.com/phegaro/thinking-sphinx

Since Sphinx only returns ids of items that match the search query, thinking sphinx actually does the work of running a find and retrieving all the records by using a find method and passing all the arguments you sent to the search method to the find query. It passes things like :include and :joins etc but it does not pass conditions so i created a new options called :sql_conditions and  you can pass the normal sql conditions you might want to pass to have joins be filtered etc. Hope it helps and good luck

  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Twitter