Hi Ritesh I don't have time to test it, but I've added a couple of comments to your commits. You seem to be on the right track, but you're going to have to test it out properly yourself.
Cheers -- Pat On 21/07/2011, at 6:33 AM, Ritesh wrote: > Hi Pat, > > Thanks for the suggestion. I changed search to sphinx_search in the > above specified files. Also I have changed Search Class to > SphinxSearch. I am wondering will have a minute to test the changes > and see if anything is broken or not. > Here is my fork > > [email protected]:ragrawal/thinking-sphinx.git > > Regards > Ritesh > > On Jul 19, 9:33 pm, Pat Allan <[email protected]> wrote: >> Hi Ritesh >> >> You'll need to edit TS yourself... the files in question: >> lib/thinking_sphinx/active_record/has_many_association.rb >> lib/thinking_sphinx/bundled_search.rb >> lib/thinking_sphinx/facet_search.rb >> lib/thinking_sphinx/search.rb >> lib/thinking_sphinx/search_methods.rb >> >> Should only be a few changes per file, if that. I'd recommend forking and >> making commits for these changes - easier for staying up to date, and also >> keeps TS working in essence like a gem, instead of a plugin. Just refer to >> your fork using git references in your Gemfile. >> >> Cheers >> >> -- >> Pat >> >> On 20/07/2011, at 4:28 AM, Ritesh wrote: >> >> >> >> >> >> >> >>> Hi, >> >>> I saw previous post on how to resolve search method conflict but >>> didn't find any working solution. I am using meta_search and >>> thinking_sphinx. However, when I call search method it always calls >>> meta_search's search method. Someone suggested reorderng sequence of >>> gem in Gemfile will help mitigate the problem. But that didn't help. I >>> am thinking of downloading TS as a plugin and rename the search >>> method. But I am not sure where I will have to make changes. Can >>> someone help me. >> >>> Ritesh >> >>> -- >>> 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 >>> athttp://groups.google.com/group/thinking-sphinx?hl=en. > > -- > 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. > -- 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.
