Update all ES queries to use Elasticsearch DSL (bug 1036168)

Maybe link to source in docstring