Sort by value of array object

Hi a have this document:

'doc': {
'categories': [
{'id': 1, position: 1},
{'id': 2, position: 5}

and i need sort results by category.position with specific
is it possible?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit