Exclude elasticsearch dependency

Change-Id: Icaad7118f86a3b07c12c372f0a7780602dc87305