Use the IndexSearcher.explain() feature to look at how Lucene is
calculating the score.
Erik
On Feb 28, 2005, at 3:32 AM, Claude Libois wrote:
I use MultiFieldQueryParser(search only done on summary,title and
content)
with a FilteredQuery.
Claude Libois
[EMAIL PROTECTED]
Technical associate - Unisys
----- Original Message -----
From: "Morus Walter" <[EMAIL PROTECTED]>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Monday, February 28, 2005 9:28 AM
Subject: Re: Boost doesn't works
Claude Libois writes:
Hello. I'm using Lucene for an application and I want to boost the
title
of
my documents.
For that I use the setBoost method that is applied on the title
field.
However when I look with luke(1.6) I don't see any boost on this
field
and
when
I do a search the score isn't change. What's wrong?
How do you search?
I guess you cannot see a change unless you combine searches in
different
fields, since scores are normalized.
Morus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]