Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 15235 invoked from network); 7 Sep 2009 13:15:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Sep 2009 13:15:23 -0000 Received: (qmail 86965 invoked by uid 500); 7 Sep 2009 13:15:22 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 86896 invoked by uid 500); 7 Sep 2009 13:15:22 -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 86886 invoked by uid 99); 7 Sep 2009 13:15:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 13:15:22 +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; Mon, 07 Sep 2009 13:15:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FB1B234C4A9 for ; Mon, 7 Sep 2009 06:15:00 -0700 (PDT) Message-ID: <545282715.1252329300325.JavaMail.jira@brutus> Date: Mon, 7 Sep 2009 06:15:00 -0700 (PDT) From: "Shalin Shekhar Mangar (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-1406) Refactor FileDataSource and FileListEntityProcessor to be more extensible In-Reply-To: <1763394013.1251931002877.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-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar resolved SOLR-1406. ----------------------------------------- Resolution: Fixed Fix Version/s: 1.4 Assignee: Shalin Shekhar Mangar (was: Noble Paul) Committed revision 812122. Thanks Luke! > Refactor FileDataSource and FileListEntityProcessor to be more extensible > ------------------------------------------------------------------------- > > Key: SOLR-1406 > URL: https://issues.apache.org/jira/browse/SOLR-1406 > Project: Solr > Issue Type: Improvement > Components: contrib - DataImportHandler > Affects Versions: 1.4 > Reporter: Luke Forehand > Assignee: Shalin Shekhar Mangar > Fix For: 1.4 > > Attachments: SOLR-1406.patch, SOLR-1406.patch, SOLR-1406.patch > > > FileDataSource should make openStream method protected so we can extend FileDataSource for other File types such as GZip, by controlling the underlying InputStreamReader implementation being returned. > FileListEntityProcessor needs to aggregate a list of files that were processed and expose that list in an accessible way so that further processing on that file list can be done in the close method. For example, deletion or archiving. > Another improvement would be that in the event of an indexing rollback event, processing of the close method either does not occur, or the close method is allowed access to that event, to prevent processing within the close method if necessary. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.