Hi Steve Unfortunately, Sphinx talks to the database, and nothing else. Well, nothing else except an XML source, but Thinking Sphinx doesn't allow for those at this point in time.
So, while Solr and Ferret will probably do what you want - since they talk to Ruby models (which of course makes indexing slower, but thems the breaks), then perhaps they're something to look into. Good luck with finding a solution :) -- Pat On 20/05/2009, at 2:58 PM, Steve Odom wrote: > > This might be an obvious 'no', but I'm looking for suggestions. My app > is integrated with facebook connect. Let's say I have Music model > where someone describes their favorite bands. For some users, I have > this data stored in my local database in a 'favorite_bands' column. > For some, I'm pulling this data in from facebook and inserting the > data on the fly into the active record favorite_band attribute. > > I'm doing this is with an after_initialization filter in my music > model that checks whether I'm supposed to get the data from facebook > for this user and then grabs the data and inserts it for that user if > yes. When I indexed TS the first time I had my fingers crossed that > this after_initialization filter would be used by TS and the facebook > data would be indexed along with the other data. Alas, no. > > Any obvious or clever ways I might get this facebook data indexed > along with my local data? > > Steve > http://ge.la.to > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
