elasticsearch GET and current query code from ddr-public