replaced elastic search client