Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 70377 invoked from network); 10 Oct 2009 06:16:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Oct 2009 06:16:07 -0000 Received: (qmail 98014 invoked by uid 500); 10 Oct 2009 06:16:06 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 97892 invoked by uid 500); 10 Oct 2009 06:16:06 -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 97870 invoked by uid 99); 10 Oct 2009 06:16:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 06:16:06 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 06:16:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4AF14234C1F2 for ; Fri, 9 Oct 2009 23:15:33 -0700 (PDT) Message-ID: <47777393.1255155333305.JavaMail.jira@brutus> Date: Fri, 9 Oct 2009 23:15:33 -0700 (PDT) From: "Noble Paul (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Assigned: (SOLR-1498) RegexTransformer: sourceColName version not handling multiValued fields correctly In-Reply-To: <582159110.1255013072012.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul reassigned SOLR-1498: -------------------------------- Assignee: Noble Paul (was: Shalin Shekhar Mangar) > RegexTransformer: sourceColName version not handling multiValued fields correctly > --------------------------------------------------------------------------------- > > Key: SOLR-1498 > URL: https://issues.apache.org/jira/browse/SOLR-1498 > Project: Solr > Issue Type: Bug > Components: contrib - DataImportHandler > Affects Versions: 1.4 > Environment: Windows XP, JDK 6, Tomcat 6 > Linux (RedHat), JDK, Tomcat 5 > Reporter: Chantal Ackermann > Assignee: Noble Paul > Fix For: 1.4 > > Attachments: SOLR-1498.patch > > > Versions in use/compared: > Solr 1.3 > (Nightly 5th August) > Nightly 22nd September > As RegexTransformer is not different between the two nightlies, the > issue probably appeared before. > ISSUE: > Using RegexTransformer with the 'sourceColName' notation will not populate > multiValued (actually containing multiple values) fields with a list but > instead add only one value per document. > The version with 'groupNames' does. > worked for 1.3 (regression): > > regex="[^\|]+\|\d+,\d+,\d+,(.*)" /> > works for nightly 22nd Sept: > regex="([^\|]+)\|\d+,\d+,\d+,(.*)" /> > (Both fields are of type solr.StrField and multiValued.) > Comparing the source code of RegexTransformer 1.3 vs. 22nd Sept, I found: > for (Object result : results) > row.put(col, result); > (lines 106-107 of transformRow() 22nd of Sept) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.