alternative is to use max e.g.
>> &boost=max(log(qty), -1)
>>
>> But still this would cause Solr to compute the -Infinity and then discard
>> it. So can I use an expression for boost that would result in –Infinity?
>>
>> Thank you
>> O. O.
&
The usual fix for this is log(1+qty). If you might have negative values, you
can use log(max(1,qty)).
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/
On Oct 20, 2014, at 3:04 PM, O. Olson wrote:
> I am considering using a boost as follows:
>
> &boost=log(qty)
>
iew this message in context:
http://lucene.472066.n3.nabble.com/Is-there-a-problem-with-Infinity-as-boost-tp4165036.html
Sent from the Solr - User mailing list archive at Nabble.com.