Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum boost factor

Tags:

lucene.net

What is the maxiimum boost factor value for a word in Lucene.Net? I believe default value is 1.0f

Thanks!

like image 498
user43478 Avatar asked Mar 28 '26 01:03

user43478


1 Answers

It can be any positive number. Of course, if you pick an unreasonable number, like Float.POSITIVE_INFINITY (or the .NET equivalent), you'll end up with some crazy scores. Generally, you want to look at your boosts as a percentage: 1.0F is 100%, meaning no boost up or down. 1.2F is 120%, a little boost up; 0.5 is 50%, a fairly significant boost down.

like image 63
erickson Avatar answered Mar 29 '26 15:03

erickson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!