I've updated my answer to that question to match the other thread - in short, that the best approach is forking Thinking Sphinx and changing the method names yourself. It's probably the easiest way, in the end.
-- Pat On 27/06/2011, at 6:53 PM, nishant wrote: > Thanks Pat for such an early reply > I have also seen a thread on stack Overflow. > > http://stackoverflow.com/questions/6462477/thinking-sphinx-already-have-a-search-method-in-the-model > > i cannot change my search methods , So , this is the only way which is > mentioned in this particular thread. > > > On Jun 27, 1:41 pm, Pat Allan <[email protected]> wrote: >> Hi Nishant >> >> This topic has just recently been discussed on this list >> already:http://groups.google.com/group/thinking-sphinx/browse_thread/thread/d... >> >> I would recommend you change your other search method to something else - >> that will avoid any major problems, as Thinking Sphinx does not have any >> options for changing the search method name. If that's not an option though, >> other potential solutions are in the thread linked above. >> >> Cheers >> >> -- >> Pat >> >> On 27/06/2011, at 6:38 PM, nishant wrote: >> >>> Hello >>> I have implemented Thinking sphinx in my application , its working but >>> it is creating complications as the search method of thinking sphinx >>> has the same name with my already available methods which i have >>> created previously. >> >>> @articles = Article.search params[:search] >> >>> Thanks and Regards >>> Nishant Nigam >> >>> -- >>> 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.
