make it work when elasticsearch is not running.
Merge pull request #29 from hirogwa/dev

make it work when elasticsearch is not running.