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=*,score > This yields a correct answer - 38.0 where the stockPrice_f dynamic field > has the value of 28.0 > > However, when there is another query term - the answer changes. > Ex2: > .../select/?q=PRICE_MIN:200000%20_val_:%22sum(stockPrice_f,10.00)%22&fl=*,score > > This yields an incorrect answer: 36.41818 > > The config is straight out of the examples/ directory with only my own > field definitions. > > Thanks if anyone can explain or help. > > ---------------------------- > > > 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-tp19616287p19633206.html Sent from the Solr - User mailing list archive at Nabble.com.