Elastic Search Python Middle Ware