Fixed imports for NoSuchMethod exception

Compatibility with Elastic Search 0.19.9 (latest stable)