Sure, that option would work well enough too.

-- 
Pat

On 28/06/2012, at 7:00 PM, Sam Ulu wrote:

> Thanks Pat. 
> So I'm assuming that besides Riddle, I might have to load all my xml files 
> into an SQL dB, update weekly and use the dB with thinking-sphinx.
> 
> 
> On Saturday, June 23, 2012 11:00:49 AM UTC-4, Pat Allan wrote:
> Hi Sam
> Thinking Sphinx is built only to work with ActiveRecord models built on top 
> of SQL databases, I'm afraid, so you can't pull in XML sources.
> 
> You could investigate using Riddle directly with XML sources and see if 
> that'll lead to a solution that suits - it's a bit beyond the scope of code 
> snippets though.
> 
> Cheers
> 
> -- 
> Pat
> 
> On 19/06/2012, at 11:17 PM, Sam Ulu wrote:
> 
> > Using thinking-sphinx with Rails3, how do I get to set the data source with 
> > xmlpipe2 to directly access a collection of xml files, for indexing? For 
> > instance, I have a model "Paper" that I need to index its table columns 
> > (think fields - paper_title, author, paper_abstact & attributes - paper_no) 
> > from a collection of XML files supplied weekly. Please I am a newbie, so 
> > any sample code snippets in answers will be highly appreciated...Thanks.
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Thinking Sphinx" group.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/thinking-sphinx/-/Tnyi3yBBUZsJ.
> > 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 view this discussion on the web visit 
> https://groups.google.com/d/msg/thinking-sphinx/-/h65gYn_kKTIJ.
> 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