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 7F72F7DB6 for ; Thu, 25 Aug 2011 06:19:21 +0000 (UTC) Received: (qmail 26355 invoked by uid 500); 25 Aug 2011 06:19:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 25473 invoked by uid 500); 25 Aug 2011 06:18:59 -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 25427 invoked by uid 99); 25 Aug 2011 06:18:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 06:18:52 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Thu, 25 Aug 2011 06:18:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4AF76CE7BD for ; Thu, 25 Aug 2011 06:18:29 +0000 (UTC) Date: Thu, 25 Aug 2011 06:18:29 +0000 (UTC) From: "Shawn Heisey (JIRA)" To: dev@lucene.apache.org Message-ID: <962022726.12494.1314253109303.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (SOLR-2729) DIH status: successful zero-document delta-import missing "" field MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 DIH status: successful zero-document delta-import missing "" field ------------------------------------------------------------------ Key: SOLR-2729 URL: https://issues.apache.org/jira/browse/SOLR-2729 Project: Solr Issue Type: Bug Components: contrib - DataImportHandler Affects Versions: 3.2 Environment: Linux idxst0-a 2.6.18-238.12.1.el5.centos.plusxen #1 SMP Wed Jun 1 11:57:54 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) Reporter: Shawn Heisey Priority: Minor Fix For: 3.4, 4.0 If you have a successful delta-import that happens to process zero documents, the field is not present in the status. I've run into this situation when the SQL query results in an empty set. A workaround for the problem is to instead look for the "Time taken " field ... but if you don't happen to notice that this field has an extraneous space in the name, that won't work either. A full-import that processes zero documents has the field present as expected: Indexing completed. Added/Updated: 0 documents. Deleted 0 documents. -- This message is automatically generated by JIRA. 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