I'm using Hibernate Search ORM with Elastic Search on http://www.euregjug.eu.
After upgrading from 5.6 beta to 5.8 (see https://github.com/EuregJUG-Maas-Rhine/site/commit/70099d231f05810376fd8f86783b75fd01a6b11c), the application fails to start because it cannot get the health for the index from the http://www.searchly.com elastic search instance.
It tries to retrieve "/_cluster/health/eu.euregjug.site.posts.postentity/" which fails:
The problem here is the forward slash at the end of the index name. If I remove that and CURL the full URL including the same username I configured for Hibernate Search, it works.
As I use the auto generated index name, there's a little I can do as an end developer here.
Probably that one needs something that checks if it's the last element of a path https://github.com/hibernate/hibernate-search/blob/master/elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/ElasticsearchRequest.java#L85. Most often it doesn't make a big difference, but /foo/bar is technically a different thing than /foo/bar/.
Thanks ! We'll get this fixed ASAP.
Thank you Sanne! Wasn't quite sure if that had been on purpose, otherwise I'd have sent a PR.