Search and aggregation performance of Byte vs Integer vs Long

According to following article, we should use the smallest numeric datatype that fits the requirement.

I want to understand in more detail that why and how search speed would get improved? Also, would that speed up aggregations as well?

Can anyone answer this question?


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