lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: Precision issue with sum() function
Date Tue, 23 Sep 2008 19:58:39 GMT
Try adding a debugQuery=true parameter on to see if that helps you  
decipher what is going on.

FWIW, the _val_ boost is a factor in scoring, but it isn't the only  
factor.   Perhaps you're seeing the document score factor in as well?

-Grant

On Sep 22, 2008, at 6:37 PM, water4u99 wrote:

>
> Hi,
>
> I have indexed a dynamic field in the <add><doc> as: <field
> name="stockPrice_f">28.00</field>.
> It is visible in my query.
> However, when I issue a query with a function: ...  
> _val_:"sum(stockPrice_f,
> 10.00)"&fl=*,score
> I received the output of: <float name="score">36.41818</float>
> There were no other computations.
>
> Can any one help on why the answer is off.
>
> Thank you.
> -- 
> View this message in context: http://www.nabble.com/Precision-issue-with-sum%28%29-function-tp19616287p19616287.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



Mime
View raw message