Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 70988 invoked from network); 21 Nov 2010 14:47:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Nov 2010 14:47:06 -0000 Received: (qmail 41113 invoked by uid 500); 21 Nov 2010 14:47:36 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 40807 invoked by uid 500); 21 Nov 2010 14:47:36 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 40799 invoked by uid 99); 21 Nov 2010 14:47:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 14:47:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Nov 2010 14:47:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oALElEiH026068 for ; Sun, 21 Nov 2010 14:47:14 GMT Message-ID: <24858335.221261290350834865.JavaMail.jira@thor> Date: Sun, 21 Nov 2010 09:47:14 -0500 (EST) From: "pavlick (JIRA)" To: dev@lucene.apache.org Subject: [jira] Updated: (SOLR-2039) Multivalued fields with dynamic names does not work properly with DIH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] pavlick updated SOLR-2039: -------------------------- Attachment: SOLR-2039.patch I hope this patch will help solve the issue > Multivalued fields with dynamic names does not work properly with DIH > --------------------------------------------------------------------- > > Key: SOLR-2039 > URL: https://issues.apache.org/jira/browse/SOLR-2039 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.4.1 > Environment: Windows XP, Default Solr 1.4 install with jetty > Reporter: K A > Attachments: SOLR-2039.patch > > > Attempting to use multiValued fields using the DataImportHandler with dynamic names does not seem to work as intended. > Setting up the following in schema.xml > > Then attempting to import a multiValued field through a RDBMS using children records with a dynamic name. The snippet from data-config.xml > > > > > > Results in only the FIRST record being imported. If we change the field name in the above example to a constant (ie above field entry becomes: ). The multiple records are correctly imported. > This was posted on solr-user, and others have reported the problem on the mailing list archive. > The workaround was to use a javascript transform to perform the same behavior. Changes in data-config.xml become: > > > This results in multivalued field with a dynamic name assigned. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org