Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 78562 invoked from network); 28 Feb 2006 13:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 13:12:01 -0000 Received: (qmail 741 invoked by uid 500); 28 Feb 2006 13:11:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 718 invoked by uid 500); 28 Feb 2006 13:11:45 -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 707 invoked by uid 99); 28 Feb 2006 13:11:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 05:11:45 -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 samurujackson@googlemail.com designates 64.233.162.205 as permitted sender) Received: from [64.233.162.205] (HELO zproxy.gmail.com) (64.233.162.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 05:11:44 -0800 Received: by zproxy.gmail.com with SMTP id i11so1241504nzi for ; Tue, 28 Feb 2006 05:11:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZUPGjT1TuuD5FYTqYMS32D/6AZ0vBJsmWGV3TESJflYQ8OWwhxovY/9/vgOGVIld8WlSHzUqZB+4H0upefI3e9nQGp0o5EBCDJH7lAu3CrY3SiVn/oJnS0gMzOQ9TPauIxW9pr9sdoxf3Upl3H7ooGRG5959iHUrqiUPuVziLQc= Received: by 10.64.213.14 with SMTP id l14mr3227143qbg; Tue, 28 Feb 2006 05:11:23 -0800 (PST) Received: by 10.65.74.19 with HTTP; Tue, 28 Feb 2006 05:11:23 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2006 14:11:23 +0100 From: "Samuru Jackson" To: java-user@lucene.apache.org Subject: Re: Filter Field.Keyword possible? In-Reply-To: <3564E3FC-9037-45CB-8090-D64281D06AE6@ehatchersolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9BC0EEC2-13D7-4486-BE29-94E8DD1B3B58@ehatchersolutions.com> <3564E3FC-9037-45CB-8090-D64281D06AE6@ehatchersolutions.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Also heed the other recommendations in LIA and don't necessarily use > Filters when BooleanQuery clauses will suffice. There is overhead > involved in the Filter mechanism in terms of executing multiple > queries to build all the filters you're proposing. I'm aware of the fact that using multiple filters will result in performance problems. One point is that QueryFilters can be reused to benefit from its caching. BooleanQueries seem to do no caching except when using CachingWrappingFilter. But I don't think that will help me in my project as I won't create similar Filters that often. I will see how it performs with 3gb indexed docs ;-) > There is a ChainedFilter available in the contrib/miscellaneous area > (previously called the "sandbox", as in LIA) that can be used to > combine multiple Filters in sophisticated ways. Maybe this is what > you're after? It is covered in LIA. ChainedFilter is interesting, but I noticed that I can *add* more than one Term to BooleanQueries and combine them with BooleanClause.Occur. That would be sufficient for the moment... Regarding ChainedFilter ... I can't find any API on the web! Thanks a lot! Samuru --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org