close #104 works with 0.90.1 elasticsearch and up versions