Re: Boost value is always 1

2011-02-17 Thread Ian Lea
Try different boost values with larger gaps between low and high. If that doesn't help, post a tiny but complete self-contained example that demonstrates the problem. And you should always say what version of lucene you are using. -- Ian. On Thu, Feb 17, 2011 at 7:56 AM, Akos Tajti wrote: >

Boost value is always 1

2011-02-16 Thread Akos Tajti
I'm trying to set different boost values for different fields. Before adding the document to the index every value is fine. But when I run a search in the explanation every boost is 1 and the final score of the matches is not affected by the boost values set. I set omitNorms to false and index to A

boost value is always 1

2011-02-16 Thread Akos Tajti
I'm trying to set different boost values for different fields. Before adding the document to the index every value is fine. But when I run a search in the explanation every boost is 1 and the final score of the matches is not affected by the boost values set. I set omitNorms to false and index to A