| 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/. |