I am considering using a boost as follows:
&boost=log(qty)
Where qty is the quantity in stock of a given product i.e. qty could be 0,
1, 2, 3, … etc. The problem I see is that log(0) is Infinity. Would this be
a problem for Solr? For me it is not a problem because
log(0) < log(1) < log(2) etc.
I'd be grateful for any thoughts. One 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.

View this message in context: http://lucene.472066.n3.nabble.com/IsthereaproblemwithInfinityasboosttp4165036.html
Sent from the Solr  User mailing list archive at Nabble.com.
