Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 77824 invoked from network); 24 Feb 2006 13:31:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Feb 2006 13:31:57 -0000 Received: (qmail 6040 invoked by uid 500); 24 Feb 2006 13:31:52 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 6015 invoked by uid 500); 24 Feb 2006 13:31:51 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 6004 invoked by uid 99); 24 Feb 2006 13:31:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 05:31:51 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mike@curtin.com designates 205.158.62.196 as permitted sender) Received: from [205.158.62.196] (HELO ws6-1.us4.outblaze.com) (205.158.62.196) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 24 Feb 2006 05:31:50 -0800 Received: (qmail 1293 invoked from network); 24 Feb 2006 13:31:30 -0000 Received: from unknown (HELO ?10.1.1.2?) (mike@curtin.com@68.73.12.6) by ws6-1.us4.outblaze.com with SMTP; 24 Feb 2006 13:31:29 -0000 Message-ID: <43FF0AB2.6080501@curtin.com> Date: Fri, 24 Feb 2006 08:31:30 -0500 From: "Michael D. Curtin" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Question to Lucene Index References: <43FF058A.3080308@thopap.de> <43FF08DE.4020508@curtin.com> <43FF08FD.9000005@thopap.de> In-Reply-To: <43FF08FD.9000005@thopap.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thomas Papke wrote: > What is the disadvantage of doing that? Besides being a bit awkward, it could use more RAM and time to compile queries. That could be because a query like "foo*" gets expanded into all the terms from the index that begin with "foo", ORed together, like so: "foo" OR "food" OR "fool" OR "foot" ... I suppose it's theoretically possible that if you have millions of unique terms that all begin with the same thing and then use that common prefix as a query, you could notice. I haven't noticed anything at all in my application, which has a few million documents and ~10 million unique terms. In other words, in practical situations I doubt there are any disadvantages. --MDC --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org