made elastic search work