tuning the elastic search query