Fixed the Nest search of elasticsearch and refined the response received.