see https://github.com/spring-projects/spring-data-elasticsearch/pull/2196#pullrequestreview-1019343726