The second option you've listed is as good as it gets, I'm afraid - TS isn't built with the expectation of another search library existing.

I guess you could add your own library that your app loads between the two others, and monkeypatches method names, but that really is a hackish solution. I'd recommend using ThinkingSphinx.search, or just using one search library.

Cheers

--
Pat

On 01/09/2010, at 10:12 AM, PsiPro <[email protected]> wrote:

Alright I figured out I could use the following as well:

Model::ThinkingSphinx.search ....

or

ThinkingSphinx.search ..., :classes => ['Model']

Is there a cleaner way?

Brian

On Aug 31, 8:49 pm, PsiPro <[email protected]> wrote:
Hello all,

I am upgrading to rail3 which means searchlogic won't work anymore.
Most people have recommended switching to meta_search.

Unfortunately meta_search also wants to use Model.search

To be fair I am asking in their group as well, but is there another
option in TS to use a different function name?

Thanks,
Brian

--
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.

Reply via email to