Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 60497 invoked from network); 18 Mar 2004 18:56:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 18 Mar 2004 18:56:19 -0000 Received: (qmail 67736 invoked by uid 500); 18 Mar 2004 18:56:05 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 67704 invoked by uid 500); 18 Mar 2004 18:56:05 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 67676 invoked from network); 18 Mar 2004 18:56:04 -0000 Received: from unknown (HELO web12706.mail.yahoo.com) (216.136.173.243) by daedalus.apache.org with SMTP; 18 Mar 2004 18:56:04 -0000 Message-ID: <20040318185605.43875.qmail@web12706.mail.yahoo.com> Received: from [194.152.226.172] by web12706.mail.yahoo.com via HTTP; Thu, 18 Mar 2004 10:56:05 PST Date: Thu, 18 Mar 2004 10:56:05 -0800 (PST) From: Otis Gospodnetic Subject: Re: Sys properties Was: java.io.tmpdir as lock dir .... once again To: Lucene Users List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I added support for all items listed below, except commit/write lock file name. I don't see why one would want to change that, considering those files are still limited to the index directory. Otis --- Stephane James Vaucher wrote: > How about (looking big rather than small): > > - MaxClause from BooleanQuery (I know there has been discussions on > the dev list, but I haven't been following it) > - default commit_lock_name > - default commit_lock_timeout > - default maxFieldLength > - default maxMergeDocs > - default mergeFactor > - default minMergeDocs > - default write_lock_name > - default write_lock_timeout > > I'm currently configuring parts of my app using sys properties, > particularly the mergeFactor because my prod system has 2GB of RAM > and is > windows based and my dev machine has 256MB and is linux. If no one > takes a > crack at this, I'll see what I can do in 2 weeks, after my vacations. > > Cheers, > sv > > On Wed, 3 Mar 2004, Doug Cutting wrote: > > > Stephane James Vaucher wrote: > > > As I've stated in my earlier mail, I like this change. More > importantly, > > > could this become a "standard" way of changing configurations at > runtime? > > > For example, the default merge factor could also be set in this > manner. > > > > Sure, that's reasonable, so this would be something like: > > > > private static final int DEFAULT_MERGE_FACTOR = > > > > > Integer.parseInt(System.getProperty("org.apache.lucene.mergeFactor","10")); > > > > In IndexWriter.java. > > > > What other candidates are there for this treatment? > > > > Doug > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > lucene-user-help@jakarta.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org