Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 41758 invoked from network); 15 Jul 2008 13:54:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 13:54:30 -0000 Received: (qmail 95859 invoked by uid 500); 15 Jul 2008 13:54:22 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 95825 invoked by uid 500); 15 Jul 2008 13:54:22 -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 95814 invoked by uid 99); 15 Jul 2008 13:54:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 06:54:22 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.142.185 as permitted sender) Received: from [209.85.142.185] (HELO ti-out-0910.google.com) (209.85.142.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 13:53:27 +0000 Received: by ti-out-0910.google.com with SMTP id b8so2657285tic.11 for ; Tue, 15 Jul 2008 06:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=8tO8H7zY09cmw3AYu+oY1qHPD4f4SIhpmsm472lelf0=; b=JIw9pljbORNxcWn0QV3Yy9rElkxQhauqg1dcBr06JXhIN3vBT67XzEHFcxiqg1H1g8 0meEJQCfe0WiLL3W119sl2C6CnB3bjdh9nqEzVTAaAMCvBqlkqphF3DHWqYZf2Op7vdg cj8KuXpNumjZDUUgL+MZDmj/MV7lOjfQrceYg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=vvnBWYqOkncZ8cjF24KCdJUYPLFZZPZTT6NLR8g0uym0VvWr1lIOCDBq+6G4omYCmH 382oe0ittfHjM5HA6/RaEaFaixmNSGOlgEZLf5HsNcEp3StTbpR2wYHcATqPMkfsLEID R302wOpB/y9tNHMmoFQGjZ6FnURLjsu7dJeXw= Received: by 10.151.141.16 with SMTP id t16mr325390ybn.60.1216130029190; Tue, 15 Jul 2008 06:53:49 -0700 (PDT) Received: by 10.151.40.4 with HTTP; Tue, 15 Jul 2008 06:53:49 -0700 (PDT) Message-ID: <359a92830807150653u2712e3eco8030c40d289dd246@mail.gmail.com> Date: Tue, 15 Jul 2008 09:53:49 -0400 From: "Erick Erickson" To: java-user@lucene.apache.org Subject: Re: Mixing non scored an scored queries In-Reply-To: <18465466.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5173_8747593.1216130029181" References: <18460018.post@talk.nabble.com> <359a92830807150629y7449f6cco4c71b382c80339df@mail.gmail.com> <18465466.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5173_8747593.1216130029181 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline No, you create the filter via TermDocs/TermEnum. You can also cache them. Creating filters is *much* faster than you think . Alternatively, you could boost everything *else* by some large factor and then the unimportant fields would add relatively little to the final score. Best Erick On Tue, Jul 15, 2008 at 9:34 AM, John Patterson wrote: > > > > Erick Erickson wrote: > > > > One way would be to create Filters and add them in with > > ConstantScoreRangeQuery.... > > > > Would that mean running the query twice? i.e. once to create the filter > and > once to rank the results? > -- > View this message in context: > http://www.nabble.com/Mixing-non-scored-an-scored-queries-tp18460018p18465466.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_5173_8747593.1216130029181--