Reindexing from HTML

Looks like unbalanced parenthesis but it is hard to tell.

I suggest dumping the request and having a look. Elasticearch doesn't support form encoded data and needs the body of the request to be a JSON object.