search via elasticsearch api