Update elastic search component to have node client implementation as we...

Please review and let me know if it looks fine.