Elasticsearch throws a SearchParseException
while parsing query if there are some documents found not containing field used in sort criteria.
I experienced the same problem (sorta; would get some errors, but some results), but in my case my search was being issued at the root (no index specified), and the errors I was getting were because the search/order was also looking to a Kibana index.
Stupid error, but maybe this'll help someone else who ends up here.