Search code examples
spring-data-elasticsearch

Spring Data ElasticSearch - Removed method reference in changelog / release notes?


I'm currently at Spring Data ElasticSearch 3.0.6.RELEASE and I'm looking at upgrading to Spring Data ElasticSearch 4.X

I see code references like new NativeSearchQueryBuilder().withIndices().

I do not see such a method in 4.X. If this was removed, could someone please share a reference in the changelog / release notes. And any references to the alternatives please ?

Same with ElasticsearchTemplate.query() method.

Thanks!


Solution

  • The change with the index names was introduced in version 4.0. See the changelog for this release..