fix elastic search for travis build

Fix the travis ci build with elasticsearch 0.20.5