Hey Brad, as far as I know, Thinking Sphinx itself can't generate configs for different sources. I think you'll have to manually adapt the config and provide Sphinx with the target database you've mentioned.
I'm sure, Pat will correct me if I'm wrong. :) - C. On Wednesday, June 22, 2011 at 1:22 AM, Brad Heintz wrote: > I've inherited a Rails 2 app using Thinking Sphinx (1.3.11 on top of > Sphinx 0.9.8.1), deployed on EngineYard. The whole thing works > perfectly: Deploying the app rebuilds the config (I guess via rake > thinking_sphinx:configure) with sources for all the indexed models > &c. Indexing works, searches work. No complaints, until... > > My problem is this: I'd like to include an outside data source. (A > WordPress blog running on a MySQL database on a different server.) Is > there a way to insert an external MySQL data source into the config > file when it gets built? > > If I have to, I can use MySQL table-level replication to get the WP > data into my Rails database, wrap some dumb models around it, and > index those - but if this could be fixed at the TS config level, I'd > be really psyched. > > Many thanks, > - Brad > > -- > 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] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[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.
