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
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
: 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'
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
: 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
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
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
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.
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