RE: de-boosting fields

2006-12-13 Thread Scott Smith
ument. I guess that all makes sense, it just means I have to be careful as to which queries I set the category boost to zero and which I don't. -Original Message- From: Scott Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 3:31 PM To: java-user@lucene.apache.org Subj

RE: de-boosting fields

2006-12-12 Thread Scott Smith
I've implemented the zero boost solution and it seems to be doing what I want. Thanks to everyone who had suggestions. -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 11:45 AM To: java-user@lucene.apache.org Subject: Re: de-boo

Re: de-boosting fields

2006-12-11 Thread Chris Hostetter
: Isn't it also true that using Field.Index.NO_NORMS when creating the field will : remove it from the scoring formula? I thought I read that somewhere, but now : can't find where. queries on fields with NO_NORMS will still contribute to the score, but the field *length* and/or field bosts won'

Re: de-boosting fields

2006-12-11 Thread Antony Bowesman
Daniel Naber wrote: On Saturday 09 December 2006 02:25, Scott Smith wrote: What is the best way to do this? Is changing the boost the right answer? Can a field's boost be zero? Yes, just use: term1 term2 category1^0 category2^0. Erick's Filter idea is also useful. Isn't it also true that

RE: de-boosting fields

2006-12-09 Thread Chris Hostetter
: I've googled for custom scorers and haven't found anything. If anyone : can point me to some posts, that would be appreciated. you really don't need a custom Scorer for what you are describing. custom Scorers are used with Custom Query classes, and there's relaly nothing custom about hte quer

Re: de-boosting fields

2006-12-09 Thread Erick Erickson
iel Naber's post), but that seems like overkill. I'll take a look at filters as well. From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Fri 12/8/2006 7:06 PM To: java-user@lucene.apache.org Subject: Re: de-boosting fields I've certainly seen refer

RE: de-boosting fields

2006-12-09 Thread Scott Smith
k at filters as well. From: Erick Erickson [mailto:[EMAIL PROTECTED] Sent: Fri 12/8/2006 7:06 PM To: java-user@lucene.apache.org Subject: Re: de-boosting fields I've certainly seen references to writing custom scorers, so it's possible. you might find valuable hints by searchin

Re: de-boosting fields

2006-12-09 Thread Daniel Naber
On Saturday 09 December 2006 02:25, Scott Smith wrote: > What is the best way to do this?  Is changing the boost the right > answer?  Can a field's boost be zero? Yes, just use: term1 term2 category1^0 category2^0. Erick's Filter idea is also useful. Regards Daniel -- http://www.danielnaber.

Re: de-boosting fields

2006-12-08 Thread Erick Erickson
I've certainly seen references to writing custom scorers, so it's possible. you might find valuable hints by searching the mail archive. I'll leave it to the more expert folks to suggest which is your best option. Although (and I'm talking beyond my competence here), it *may* work for you to asse