Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2224697C6 for ; Mon, 21 May 2012 23:47:40 +0000 (UTC) Received: (qmail 64348 invoked by uid 500); 21 May 2012 23:47:36 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 64302 invoked by uid 500); 21 May 2012 23:47:36 -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 Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 55807 invoked by uid 99); 21 May 2012 23:43:24 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of chakravarthy.sudarshan@gmail.com) Date: Mon, 21 May 2012 16:42:59 -0700 (PDT) From: sudarshan To: solr-user@lucene.apache.org Message-ID: <1337643778975-3985253.post@n3.nabble.com> Subject: Indexing files using multi-cores - could not fix after many retries 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 All, The subject may seem to be an already answered question. But I really could not fix my problem. What I'm trying is a basic indexing with multi-cores using post.jar and curl. As previously posted, I have no problems in indexing xml and csv files with post.jar and curl. But if I choose multi-core, I could n't get it working. I have done the following. 1. Core 0 is the master - Added the following in SOLR_HOME\example\multicore\core0 \conf\solrconfig.xml commit startup schema.xml,stopwords.txt 2. Core 1 is the slave -Added the following in SOLR_HOME\example\multicore\core1 \conf\solrconfig.xml http://localhost:8983/solr/core0/replication 00:00:60 3. Included core 0 and core 1 entries in SOLR_HOME\example\solr\conf\core.xml When I fire an update query to index csv or xml files, I get the following error. Query: C:\Sudarshan\Softwares\apache-solr-3.6.0\apache-solr-3.6.0\example\exampledocs>curl "http://localhost:8983/solr/core0/update/" -H "Content-type:text/plain" --data-binary books.csv Response: Error 400 Unexpected character 'b' (code 98) in prolog; expected '<' at [row,col {unknown-source}]: [1,1] HTTP ERROR 400

Problem accessing /solr/core0/update/. Reason:

    Unexpected character 'b' (code 98) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1]


/Powered by Jetty:///


Even with post.jar I'm getting the same Solr #400 error. I tried my best in debugging this. I'm new to Solr and wanted to learn more. Please help me understand where I'm making mistakes. Thanks, Sudarshan -- View this message in context: http://lucene.472066.n3.nabble.com/Indexing-files-using-multi-cores-could-not-fix-after-many-retries-tp3985253.html Sent from the Solr - User mailing list archive at Nabble.com.