Claude Libois wrote:
The explanation given by the IndexSearcher indicate me that the boost of my
title is
1.0 where it should be 10.0.
I really don't understand what it's wrong.
You're seeing the boost for the query term, not the boost for the
document's field. The boost for the field in the doc
Claude Libois writes:
> The explanation given by the IndexSearcher indicate me that the boost of my
> title is
> 1.0 where it should be 10.0.
> I really don't understand what it's wrong.
AFAIK you cannot get the boost of a field from the index because it's
not stored as such.
It's calculated in
t;[EMAIL PROTECTED]>
To: "Lucene Users List"
Sent: Monday, February 28, 2005 11:10 AM
Subject: Re: Boost doesn't works
> Use the IndexSearcher.explain() feature to look at how Lucene is
> calculating the score.
>
> Erik
>
>
> On Feb 28, 2005, at 3:32 AM, Clau
associate - Unisys
- Original Message -
From: "Morus Walter" <[EMAIL PROTECTED]>
To: "Lucene Users List"
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 b
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.
> > H
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
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?
Here i