Fixed warning: removed unused elasticsearch IndexResponse instance.