Hi Maxus Thinking Sphinx doesn't support XML piped data at this point in time (although I'd like to add it eventually), so I'm afraid your best option is to look into Sphinx libraries that don't go through ActiveRecord. Riddle might be useful for that (the Ruby API for Sphinx I extracted from an early version of Thinking Sphinx), although documentation is light. It follows Sphinx's structure pretty closely though.
http://riddle.freelancing-gods.com I'd recommend using what's on GitHub, *not* the rubyforge gem, as it's not up-to-date. Good luck! -- Pat On 05/07/2009, at 10:24 PM, Ryan Bigg (Radar) wrote: > I don't think Sphinx will allow you to index/search things that are > not in tables. > > 2009/7/6 Maxus <[email protected]> > > Hi People, > > I'm having trouble working out how to use thinking sphinx in my > current scernario, wondered if someone could set me on the right path. > > I have a couple thousand PDFs I would like to index each pdf has a > entry in the DB with the file path but the PDFs content is not stored > in the DB (as it can be up to a couple meg per PDF) which is the data > that needs to be indexed, does thinking sphinx support this setup? I > was thinking I would inport the PDF data and combine it with the DB > data then send it to sphinx using XML pipe 2 or is there a better way? > Or do I need to just find a rails plugin that will let me query sphinx > directly rather than going through a model? > > Thanks! > Maxus > > > > > > -- > Ryan Bigg > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
