In Azure Search you need to specify IsSortable in order to use the field in orderBy expressions. And by default, it is disabled for all fields.
I'm wondering there are any details on how does it work and are there any analogs in Elastic Search?
Does this attribute lead to the creation of some additional index or any space usage?
UPDATE Elastic Search has doc_values mapping parameter that makes sorting/aggregation more efficient.
By default, it is enabled for most types (see the type details)
Adv:
- more efficient sorting/aggregation
DisAdv:
- more space
- less efficient direct access (10-20% degradation, but this can be obsolete info)