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 8F17C968C for ; Sat, 10 Mar 2012 21:27:20 +0000 (UTC) Received: (qmail 48876 invoked by uid 500); 10 Mar 2012 21:27:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 48813 invoked by uid 500); 10 Mar 2012 21:27:19 -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 48804 invoked by uid 99); 10 Mar 2012 21:27:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Mar 2012 21:27:19 +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; Sat, 10 Mar 2012 21:27: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 1E6E718C89 for ; Sat, 10 Mar 2012 21:26:58 +0000 (UTC) Date: Sat, 10 Mar 2012 21:26:58 +0000 (UTC) From: "Simon Willnauer (Assigned) (JIRA)" To: dev@lucene.apache.org Message-ID: <1320172370.48409.1331414818126.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <390078818.43694.1321628454288.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (LUCENE-3581) IndexReader#isCurrent() should return true on a NRT reader if no deletes are applied and only deletes are present in IW 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-3581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer reassigned LUCENE-3581: --------------------------------------- Assignee: Simon Willnauer > IndexReader#isCurrent() should return true on a NRT reader if no deletes are applied and only deletes are present in IW > ----------------------------------------------------------------------------------------------------------------------- > > Key: LUCENE-3581 > URL: https://issues.apache.org/jira/browse/LUCENE-3581 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 3.5, 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Fix For: 3.6, 4.0 > > > I keep forgetting about this, I better open an issue. If you have a NRT reader without deletes applied it should infact return true on IR#isCurrent() if the IW only has deletes in its buffer ie. no documents where updated / added since the NRT reader was opened. Currently if there is a delete coming in we force a reopen which does nothing since deletes are not applied anyway. -- 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