Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 64930 invoked from network); 29 Mar 2010 14:05:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Mar 2010 14:05:50 -0000 Received: (qmail 65246 invoked by uid 500); 29 Mar 2010 14:05:48 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 65199 invoked by uid 500); 29 Mar 2010 14:05: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 65173 invoked by uid 99); 29 Mar 2010 14:05:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Mar 2010 14:05:48 +0000 X-ASF-Spam-Status: No, hits=-1162.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, 29 Mar 2010 14:05:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7D589234C495 for ; Mon, 29 Mar 2010 14:05:27 +0000 (UTC) Message-ID: <755292412.546891269871527512.JavaMail.jira@brutus.apache.org> Date: Mon, 29 Mar 2010 14:05:27 +0000 (UTC) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2356) Enable setting the terms index divisor used by IndexWriter whenever it opens internal readers In-Reply-To: <2031732650.545731269860967224.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-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850916#action_12850916 ] Michael McCandless commented on LUCENE-2356: -------------------------------------------- The above comment was on the wrong issue :) We should only do this issue if the ongoing ideas about refactoring IW/IR don't make controlling the terms index divisor possible, for readers opened by IW. > Enable setting the terms index divisor used by IndexWriter whenever it opens internal readers > --------------------------------------------------------------------------------------------- > > Key: LUCENE-2356 > URL: https://issues.apache.org/jira/browse/LUCENE-2356 > Project: Lucene - Java > Issue Type: Bug > Reporter: Michael McCandless > Fix For: 3.1 > > > Opening a place holder issue... if all the refactoring being discussed don't make this possible, then we should add a setting to IWC to do so. > Apps with very large numbers of unique terms must set the terms index divisor to control RAM usage. > (NOTE: flex's RAM terms dict index RAM usage is more efficient, so this will help such apps). > But, when IW resolves deletes internally it always uses default 1 terms index divisor, and the app cannot change that. Though one workaround is to call getReader(termInfosIndexDivisor) which will pool the reader with the right divisor. -- 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