Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 40456 invoked from network); 15 Mar 2010 15:57:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 15:57:35 -0000 Received: (qmail 90542 invoked by uid 500); 15 Mar 2010 15:56:48 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 90493 invoked by uid 500); 15 Mar 2010 15:56:48 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 90479 invoked by uid 99); 15 Mar 2010 15:56:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 15:56:48 +0000 X-ASF-Spam-Status: No, hits=-1015.1 required=10.0 tests=ALL_TRUSTED,AWL 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, 15 Mar 2010 15:56:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2035C234C1F0 for ; Mon, 15 Mar 2010 15:56:27 +0000 (UTC) Message-ID: <1500553559.268231268668587116.JavaMail.jira@brutus.apache.org> Date: Mon, 15 Mar 2010 15:56:27 +0000 (UTC) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Assigned: (LUCENE-2311) Pass potent SR to IRWarmer.warm(), and also call warm() for new segments In-Reply-To: <1015716351.213801268346027128.JavaMail.jira@brutus.apache.org> 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-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-2311: ------------------------------------------ Assignee: Michael McCandless > Pass potent SR to IRWarmer.warm(), and also call warm() for new segments > ------------------------------------------------------------------------ > > Key: LUCENE-2311 > URL: https://issues.apache.org/jira/browse/LUCENE-2311 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Earwin Burrfoot > Assignee: Michael McCandless > Fix For: 3.1 > > > Currently warm() receives a SegmentReader without terms index and docstores. > It would be arguably more useful for the app to receive a fully loaded reader, so it can actually fire up some caches. If the warmer is undefined on IW, we probably leave things as they are. > It is also arguably more concise and clear to call warm() on all newly created segments, so there is a single point of warming readers in NRT context, and every subreader coming from getReader is guaranteed to be warmed up -> you don't have to introduce even more mess in your code by rechecking it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org