Re: Precision issue with sum() function

2008-09-23 Thread Grant Ingersoll
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

Re: Precision issue with sum() function

2008-09-23 Thread water4u99
Problem with the span filter - removing some test - re-posting. water4u99 wrote: > > Hi, > > Some additional clue as to where the issue is: the computed number changed > when there is an additional query it in the query request. > > Ex1: .../select/?q=_val_:%22sum(stockPrice_f,10.00)%22&fl=*,s

Precision issue with sum() function

2008-09-22 Thread water4u99
Hi, I have indexed a dynamic field in the as: 28.00. 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: 36.41818 There were no other computations. Can any one help on why the answer is off. Thank y