made tweaks to elasticsearch. not working