lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Boost value is always 1
Date Thu, 17 Feb 2011 12:07:51 GMT
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 <akos.tajti@gmail.com> wrote:
> 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
> ANALYZED. The only solution I found is setting store to YES. Do you have any
> ideas?
>
> Thanks in advance,
> Ákos Tajti
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message