Fixed sort order in term query
Removed support for :refresh flag on flush requests

See
https://github.com/elasticsearch/elasticsearch/commit/4c493ac71de7382f3ecda0b435c9ce2cc31ef2b2