I had to do something similar: I have different databases for the same Models (one db for each country) and I wanted to index all of them. What I did is: 1) override Model.sphinx_name to reflect the current country (this will make ThinkingSphinx use a different Sphinx index for the query) 2) created a script that uses ThinkingSphinx for generating all the config files (for different dbs) and merge them into a big sphinx config.
pretty hacky, seems to work good On Mon, Oct 19, 2009 at 12:53 PM, Pat Allan <[email protected]> wrote: > > Nope, no progress thus far. Maybe in the next month, but I can't > promise anything... > > -- > Pat > > On 16/10/2009, at 3:43 PM, Johnny wrote: > > > > > Hi, > > > > I need a way to define multiple indexes per table. One Index for every > > language and it's stemmer. > > > > I found this old thread regarding this issue > > http://groups.google.com/group/thinking-sphinx/browse_thread/thread/c4aa755ad7d199d3/912d71f16287b52?q=#0912d71f16287b52 > > > > Has there been progress on this? > > > > > > > > > -- Martin Sarsale msn: [email protected] jabber: [email protected] twitter: http://twitter.com/runixo linkedin: http://www.linkedin.com/in/msarsale sumavisos: http://www.sumavisos.com blog: http://runa.tumblr.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
