Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EA1698F2 for ; Mon, 2 Apr 2012 19:37:44 +0000 (UTC) Received: (qmail 87650 invoked by uid 500); 2 Apr 2012 19:37:43 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 87576 invoked by uid 500); 2 Apr 2012 19:37:43 -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 87562 invoked by uid 99); 2 Apr 2012 19:37:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 19:37:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 19:37:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ABBD6354032 for ; Mon, 2 Apr 2012 19:37:21 +0000 (UTC) Date: Mon, 2 Apr 2012 19:37:21 +0000 (UTC) From: "Hoss Man (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <254913130.2343.1333395441704.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <171438937.43202.1331294817140.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3226) SignatureUpdateProcessor ignores non-string field values from the signature generation 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-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-3226: --------------------------- Attachment: SOLR-3226.patch Hmmm .... just noticed this jira ... this definitely seems like a really bad bug. Spyros: thank you so much for your patch (including tests!) ... i've updated it to also fix the case of Collections that contain non string. > SignatureUpdateProcessor ignores non-string field values from the signature generation > -------------------------------------------------------------------------------------- > > Key: SOLR-3226 > URL: https://issues.apache.org/jira/browse/SOLR-3226 > Project: Solr > Issue Type: Bug > Components: update > Affects Versions: 3.5, 4.0 > Reporter: Spyros Kapnissis > Attachments: SOLR-3226.patch, SOLR-3226.patch > > > When using for example XMLUpdateRequestProcessor, the signature is calculated correctly since all field values are strings. But when one uses DataImportHandler or BinaryUpdateRequestHandler, the signature generation will ignore any field values that are ints, longs, dates etc. > This might result in overwriting non-similar documents, as it happened in my case while importing some db data through DIH. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org