Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 46870 invoked from network); 13 Apr 2010 21:41:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 21:41:10 -0000 Received: (qmail 53993 invoked by uid 500); 13 Apr 2010 21:41:09 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 53951 invoked by uid 500); 13 Apr 2010 21:41:09 -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 53940 invoked by uid 99); 13 Apr 2010 21:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 21:41:09 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of williamstw@gmail.com designates 209.85.160.176 as permitted sender) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 21:41:04 +0000 Received: by gyf1 with SMTP id 1so3570137gyf.35 for ; Tue, 13 Apr 2010 14:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=DUmdkmKeW8NS7eIDuEsNyIyTBmhqIEHcHGYxfh6dA54=; b=wG7MJo09vfxH0h/ZxH8GDbW+5eDp/TfYJuQwgToTU8aHi+u4SA87Gs0idVXArK5OeY tEttCYXwNiDyRWn791P4RRWuIV7HXkrN2j9eacTiVyYNncDX1GY83api9eMd3c2ZKFjn aK8q1ZYvq8JpjCilHCzQDoXI3KKUIBlDLurjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=vtAgEiS3Ggo0H/5Y6jGG+Mk9iKPEgPfZJ9nvTUmLvK9Mk2PaPf4H2Eo83+qfM5JieD 9kRCEHwV/8fFDYWUSXg9dTk+lVWslEOfVKSDBt9fnao6chUcpwOeNg8kOs9mwzYauveA 2M6wWWuKGMV6bdKJxY9XHlYKQ4DHJuMygTh5o= MIME-Version: 1.0 Received: by 10.151.99.2 with HTTP; Tue, 13 Apr 2010 14:40:41 -0700 (PDT) In-Reply-To: <016001cadb28$3c70ca40$b5525ec0$@de> References: <016001cadb28$3c70ca40$b5525ec0$@de> Date: Tue, 13 Apr 2010 17:40:41 -0400 Received: by 10.150.188.11 with SMTP id l11mr5769057ybf.197.1271194841232; Tue, 13 Apr 2010 14:40:41 -0700 (PDT) Message-ID: Subject: Re: Proposal about Version API "relaxation" From: Tim Williams To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Tue, Apr 13, 2010 at 12:41 PM, Uwe Schindler wrote: > Hi Shai, > > > > one of the problem I have is: That is a static default! We want to get rid > of them (and did it mostly, only some relicts remain), so there are no plans > to reimplement such a thing again. The badest one is > BooleanQuery.maxClauseCount. The same applies to all types of sysprops. As > Lucene and solr is mostly running in servlet containers, this type of thing > makes web applications no longer isolated. This is also a general contract > for libraries: never ever rely on sysprops or statics. Do classpath resources fall in the same undesirable category? (e.g. put lucene.properties in your classpath with version=X.X). Not great but it'd get around the container challenge, right? --tim --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org