Suppose I have to sort elasticsearch documents by a field "A"(ElasticSearch 2.4.4) as shown here:
i.) Which will consume more memory? High document counts of the type in the index or high cardinality(number of unique count) of the field "A"?
ii.) Which data type of "A" will consume more memory(string, long, date etc.)?