Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 78610 invoked from network); 4 Apr 2011 09:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2011 09:32:24 -0000 Received: (qmail 1186 invoked by uid 500); 4 Apr 2011 09:32:22 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 1107 invoked by uid 500); 4 Apr 2011 09:32:22 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 1099 invoked by uid 99); 4 Apr 2011 09:32:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 09:32:21 +0000 X-ASF-Spam-Status: No, hits=4.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of sharov1982@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Apr 2011 09:32:13 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Q6g8W-0003ta-9j for solr-user@lucene.apache.org; Mon, 04 Apr 2011 02:31:52 -0700 Date: Mon, 4 Apr 2011 02:31:52 -0700 (PDT) From: andrew_s To: solr-user@lucene.apache.org Message-ID: <1301909512269-2774479.post@n3.nabble.com> Subject: Mongo REST interface and full data import MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi everyone, I'm trying to make a simple data import from MongoDB into Solr using REST interface. As an test example I've created schecma.xml like: isbn title and data-import.xml as: Unfortunately it's not working and I'm stuck on this place. Could you please advise how correctly parser JSON format data? Data format looks like: { "offset" : 0, "rows": [ { "_id" : { "$oid" : "4d9829412c8bd10644000000" }, "isbn" : "716739356", "title" : "Proteins", "description" : "" } , { "_id" : { "$oid" : "4d9829412c8bd10644000001" }, "isbn" : "144433056X", "title" : "How to Assess Doctors and Health Professionals", "description" : "" } , { "_id" : { "$oid" : "4d9829412c8bd10644000002" }, "isbn" : "1406208159", "title" : "Freestyle: Time Travel Guides: Pack B", "description" : "Takes you on a trip through history to visit the great ancient civilisations." } , "total_rows" : 3 , "query" : {} , "millis" : 0 } Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/Mongo-REST-interface-and-full-data-import-tp2774479p2774479.html Sent from the Solr - User mailing list archive at Nabble.com.