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 3A8B2906C for ; Thu, 1 Mar 2012 16:46:22 +0000 (UTC) Received: (qmail 77412 invoked by uid 500); 1 Mar 2012 16:46:21 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 77189 invoked by uid 500); 1 Mar 2012 16:46:20 -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 77180 invoked by uid 99); 1 Mar 2012 16:46:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 16:46:20 +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; Thu, 01 Mar 2012 16:46:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7CF583EC3 for ; Thu, 1 Mar 2012 16:45:57 +0000 (UTC) Date: Thu, 1 Mar 2012 16:45:57 +0000 (UTC) From: "Andrzej Bialecki (Resolved) (JIRA)" To: dev@lucene.apache.org Message-ID: <1613067267.7689.1330620357513.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <738214629.6966.1330603079512.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (LUCENE-3836) Most Codec.*Format().*Reader() methods should use SegmentReadState 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/LUCENE-3836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrzej Bialecki resolved LUCENE-3836. --------------------------------------- Resolution: Won't Fix Thanks for the insightful comments - this looks promising. I opened LUCENE-3837 to discuss a broader design for updateable fields. > Most Codec.*Format().*Reader() methods should use SegmentReadState > ------------------------------------------------------------------ > > Key: LUCENE-3836 > URL: https://issues.apache.org/jira/browse/LUCENE-3836 > Project: Lucene - Java > Issue Type: Improvement > Components: core/codecs > Reporter: Andrzej Bialecki > Assignee: Andrzej Bialecki > Fix For: 4.0 > > Attachments: LUCENE-3836.patch > > > Codec formats API for opening readers is inconsistent - sometimes it uses SegmentReadState, in other cases it uses individual arguments that are already available via SegmentReadState. This complicates extending the API, e.g. if additional per-segment state would need to be passed to the readers. -- 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