able to get the results from the elasticsearch