getting elasticsearch manager in search action