altering to point direct to /query endpoint instead of via the ES direct