Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 87607 invoked from network); 23 Jun 2009 01:26:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 01:26:18 -0000 Received: (qmail 30593 invoked by uid 500); 23 Jun 2009 01:26:28 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 30508 invoked by uid 500); 23 Jun 2009 01:26:28 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 30498 invoked by uid 99); 23 Jun 2009 01:26:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 01:26:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 01:26:17 +0000 Received: by ehatchersolutions.com (Postfix, from userid 504) id 6C45530EFC12; Mon, 22 Jun 2009 19:25:56 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on javelina X-Spam-Level: Received: from [10.0.1.15] (va-71-53-217-216.dhcp.embarqhsd.net [71.53.217.216]) by ehatchersolutions.com (Postfix) with ESMTP id 963E130EFC11 for ; Mon, 22 Jun 2009 19:25:55 -0600 (MDT) Message-Id: <3CA2DD11-CA65-49B1-BC55-59269A5E1A37@ehatchersolutions.com> From: Erik Hatcher To: solr-dev@lucene.apache.org In-Reply-To: <20090622112753.CF3472388876@eris.apache.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: svn commit: r787205 - in /lucene/solr/trunk/contrib/dataimporthandler: CHANGES.txt src/main/java/org/apache/solr/handler/dataimport/DataImportHandler.java src/main/java/org/apache/solr/handler/dataimport/SolrWriter.java Date: Mon, 22 Jun 2009 21:25:53 -0400 References: <20090622112753.CF3472388876@eris.apache.org> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL autolearn=no version=3.1.1 On Jun 22, 2009, at 7:27 AM, noble@apache.org wrote: > Author: noble > Date: Mon Jun 22 11:27:53 2009 > New Revision: 787205 > > URL: http://svn.apache.org/viewvc?rev=787205&view=rev > Log: > 36.SOLR-1234: Multiple DIH does not work because all of them write > to dataimport.properties. Use the handler name as the properties > file name Are there any issues with folks upgrading and delta queries having issues because it's looking for a different .properties file? > + if(name.startsWith("/")){ > + myName = name.substring(1); > + } Note that request handler mappings can be with more than just a leading slash. This needs to be adjusted to replace all slashes with underscore or something like that. For example, in our latest project we're using /indexer/articles as the DIH mapping for one source. An alternative is to use a single dataimport.properties file and look for keys based on the request handler mapping name. I'm going to re-open this issue to let the multiple-slash issue get resolved. Erik