Update to match new elastigo Index() API

Elastigo recently changed the bulk loader API in this commit: https://github.com/mattbaird/elastigo/commit/bafd9f71fd3

The elastigo change broke the loges build, and this PR fixes the problem.