Re: Mongo REST interface and full data import

2011-04-11 Thread andrew_s
Thank you guys for your answers. I didn't recognise that it will be so easy to do it and example from http://wiki.apache.org/solr/UpdateJSON#Example works perfectly for me. Regards, Andrew -- View this message in context: http://lucene.472066.n3.nabble.com/Mongo-REST-interface-and-full-data-impo

Re: Mongo REST interface and full data import

2011-04-05 Thread andrew_s
Hi Stefan, Thanks for clear explanation. I've used XPathEntityProcessor as an example, because didn't found JSON entity processor. I'll write a script to generate XML file for data import. Regards, Andrew -- View this message in context: http://lucene.472066.n3.nabble.com/Mongo-REST-interface

Re: Mongo REST interface and full data import

2011-04-05 Thread Stefan Matheis
andrew, you're really wondering why the XPathEntityProcessor does not work well, with a JSON-Structure !? The Links Erick posted are stating, that you could push JSON-structured Data to a Solr-HTTP Interface .. but not, that the DataImport Handler will work with them. IIRC there is no way for proc

Re: Mongo REST interface and full data import

2011-04-04 Thread andrew_s
Sorry for mistake with Solr version ... I'm using Solr 3.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Mongo-REST-interface-and-full-data-import-tp2774479p2777319.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Mongo REST interface and full data import

2011-04-04 Thread andrew_s
Hi Erick, Thanks for your reply. I'm using latest stable version (1.4). About using JSON updates ... I have some experience how to setting up data-import and delta-import from DB (it's pretty straight forward). Not sure how it will work with updates from JSON. Should I specify data-config.xml

Re: Mongo REST interface and full data import

2011-04-04 Thread Erick Erickson
I'm having trouble seeing your schema files, etc. I don't know if gmail is stripping this on my end or whether your e-mail is stripping it on upload, anyone else seeing this? But to your question, what version are you using? From Solr3.1 is the first version w