Ints converted to double in terms aggregation in version 2.4.1?

(Tom Ibollen) #1

We've just upgraded to 2.4.1 from 2.3.3, and all of a sudden it seems like if you have an int as a key in a KeyedBucket it gets converted to a double before it gets converted to a string. We are aggregating on Count by ContentTypeId, and the ContentTypeId is always an int. So in version 2.3.3 if we had a ContentTypeId 12 it got stored in the KeyedBucket as "12", but in version 2.4.1 it gets stored as "12.0". How come this is happening?

Getting max value of a long field without losing precision
(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.