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 5F5C1D8C5 for ; Mon, 19 Nov 2012 14:03:02 +0000 (UTC) Received: (qmail 90458 invoked by uid 500); 19 Nov 2012 14:02:59 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 90019 invoked by uid 500); 19 Nov 2012 14:02:58 -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 89791 invoked by uid 99); 19 Nov 2012 14:02:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 14:02:58 +0000 Date: Mon, 19 Nov 2012 14:02:58 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <584917537.2805.1353333778832.JavaMail.jiratomcat@arcas> In-Reply-To: <1290560961.45733.1316518628775.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3441) Add NRT support to LuceneTaxonomyReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-3441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500239#comment-13500239 ] Michael McCandless commented on LUCENE-3441: -------------------------------------------- I don't fully follow all changes in the patch, but generally this sounds like an awesome change! On that nocommit ... why not have a single instance of the LRUCache for all time, and never call .clear() on it? I suspect in practice that .clear() isn't helping much? Ie it's rare that an app would close the LTR and hold onto the reference to it ...? > Add NRT support to LuceneTaxonomyReader > --------------------------------------- > > Key: LUCENE-3441 > URL: https://issues.apache.org/jira/browse/LUCENE-3441 > Project: Lucene - Core > Issue Type: New Feature > Components: modules/facet > Reporter: Shai Erera > Assignee: Shai Erera > Priority: Minor > Attachments: LUCENE-3441.patch > > > Currently LuceneTaxonomyReader does not support NRT - i.e., on changes to LuceneTaxonomyWriter, you cannot have the reader updated, like IndexReader/Writer. In order to do that we need to do the following: > # Add ctor to LuceneTaxonomyReader to allow you to instantiate it with LuceneTaxonomyWriter. > # Add API to LuceneTaxonomyWriter to expose its internal IndexReader > # Change LTR.refresh() to return an LTR, rather than void. This is actually not strictly related to that issue, but since we'll need to modify refresh() impl, I think it'll be good to change its API as well. Since all of facet API is @lucene.experimental, no backwards issues here (and the sooner we do it, the better). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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