I think it is the case that Luke doesn't show the boosts, see 
http://www.gossamer-threads.com/lists/lucene/java-user/32020?search_string=Luke%20boost%201;#32020


On Dec 30, 2007, at 7:38 AM, Dominik Bruhn wrote:

Hy,
a solution came into my mind:
Every document gets boosted by a integer which I increment each time I
add a new document to the index. So the newer documents should get a
bigger boost than the older ones.

I tried it out and ran into a problem:
Although I set the Boost via doc.setBoost(value) for each document before writing it to the index it doesnt change anything. Even worse if I look at the index using Luke (Version 0.7.1) each document got a boost of 1 not of the value supplied.

Who can help me?

Thanks
--
Dominik Bruhn
mailto: [EMAIL PROTECTED]

--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
http://www.lucenebootcamp.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to