ElasticsearchRepository.refresh() is deprecated. What should I use?

Viewed 59

I am migrating from spring data ES 4.1.15 to 4.4.1. The old code has below

ElasticsearchRepository.save()
ElasticsearchRepository.refresh()

What should I use to replace refresh?

1 Answers
Related