Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 64087 invoked from network); 29 Oct 2005 02:31:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Oct 2005 02:31:37 -0000 Received: (qmail 1945 invoked by uid 500); 29 Oct 2005 02:31:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 1917 invoked by uid 500); 29 Oct 2005 02:31:31 -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 1906 invoked by uid 99); 29 Oct 2005 02:31:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2005 19:31:31 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [24.29.109.5] (HELO ms-smtp-01.rdc-nyc.rr.com) (24.29.109.5) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2005 19:31:28 -0700 Received: from [192.168.1.103] (cpe-66-108-35-120.nyc.res.rr.com [66.108.35.120]) by ms-smtp-01.rdc-nyc.rr.com (8.12.10/8.12.7) with ESMTP id j9T2UT1g002220 for ; Fri, 28 Oct 2005 22:30:29 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: <96B9ACE2-D4D0-4CB7-8930-5343C57E5AE2@earthlink.net> <336EA89A-6152-4B5C-A36A-E7F91BED5CE5@ehatchersolutions.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andy Lee Subject: Re: trying to boost a phrase higher than its individual words Date: Fri, 28 Oct 2005 22:31:06 -0400 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.734) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Oct 28, 2005, at 8:17 PM, Chris Hostetter wrote: > One thing to keep in mind is that if you have things you are adding > to hte > query to restrict the results, but you don't want them to > contribute to > the score, then try using a Filter instead. If you can't find an > easy way > to replace a query by a filter, try using a boost of 0.0001 ( i'd > say use > a boost of 0, but I'm not sure that all query types handle that as > correctly as they should) Thanks for the advice. I hadn't even noticed the Filter classes until very recently. I really need to take the time to work methodically through LIA... > Really? .. the LIA example i found was in 3.3.1, it just printed out > explanation.toString() ... that should still work just fine even > with the > trunk of SVN. You know what, I was confusing Nutch and Lucene classes (as I've done before), in this case the IndexSearcher classes. All I could find was the *Nutch* IndexSearcher's getExplanation() method, which I see sends toHtml() rather than toString() to its internal Lucene IndexSearcher. --Andy --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org