Fixed re-index command to use the new PUT/POST api correctly
Merge branch 'hotfix-update-search-index'