Re: Boost doesn't works

2005-02-28 Thread Doug Cutting
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

Re: Boost doesn't works

2005-02-28 Thread Morus Walter
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

Re: Boost doesn't works

2005-02-28 Thread Claude Libois
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

Re: Boost doesn't works

2005-02-28 Thread Erik Hatcher
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

Re: Boost doesn't works

2005-02-28 Thread Claude Libois
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

Re: Boost doesn't works

2005-02-28 Thread Morus Walter
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

Boost doesn't works

2005-02-28 Thread Claude Libois
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