Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 12160 invoked from network); 10 Feb 2006 02:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 02:11:07 -0000 Received: (qmail 81778 invoked by uid 500); 10 Feb 2006 02:11:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80830 invoked by uid 500); 10 Feb 2006 02:11:02 -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 80818 invoked by uid 99); 10 Feb 2006 02:11:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 18:11:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.217.22.128] (HELO file1.syd.nuix.com.au) (203.217.22.128) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 18:11:01 -0800 Received: from [192.168.222.102] (demo1.syd.nuix.com.au [192.168.222.102]) by file1.syd.nuix.com.au (Postfix) with ESMTP id 7E1ACB7BF7 for ; Fri, 10 Feb 2006 13:10:37 +1100 (EST) Message-ID: <43EBF5E2.8050507@nuix.com.au> Date: Fri, 10 Feb 2006 13:09:38 +1100 From: Daniel Noll Organization: NUIX Pty Limited User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: java-user@lucene.apache.org Subject: Re: Queries not derived from the text index References: <43E839B5.60300@nuix.com.au> <5ACC7DF3-B9C0-4781-B7BA-20F374ED0B9F@ehatchersolutions.com> <43E92A9B.1020109@nuix.com.au> <56D4B35E-3FC0-44A0-A109-0AEAA72E5230@ehatchersolutions.com> <43EA82DE.3080905@nuix.com.au> <43EA8FDE.9080207@nuix.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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 Chris Hostetter wrote: > : I think that overriding getFieldQuery would work, yeah... you're right. > : It's just a matter of comparing efficienty of this: > : > : BooleanQuery of (TermQuery, FilteredQuery of (AllDocsQuery, Filter)) > : > : to the efficiency of this: > : > : FilteredQuery of (TermQuery, Filter) > > the third option is as easy to impliment as the first, and probably close > to being as efficient as the second... > > BooleanQuery of (TermQuery, ConstantScoreQuery(Filter)) Ooo... that's even better. Hopefully I can backport ConstantScoreQuery to the version we're using without too much trouble (MatchAllDocsQuery didn't cause any trouble.) Daniel -- Daniel Noll Nuix Australia Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Phone: (02) 9280 0699 Fax: (02) 9212 6902 This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this message or attachment is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org