Re: CustomScoreQuery numerical precision problem

2009-05-20 Thread Simon Willnauer
Hi there On Tue, May 19, 2009 at 8:32 AM, ac wrote: > hello, > I am using CustomScoreQuery for result ranking. > A field of my documents is parsable as an integer value, the magnide > of which exceeds the precision of the float type. > A sample value of this field is 24118569 > > However, due to

CustomScoreQuery numerical precision problem

2009-05-18 Thread ac
hello, I am using CustomScoreQuery for result ranking. A field of my documents is parsable as an integer value, the magnide of which exceeds the precision of the float type. A sample value of this field is 24118569 However, due to the nature of CustomScoreQuery, a cast from int to float is perform