Enable direct access to elasticsearch API setsource method when building
index queries.