Closed
Description
Version
spring-data-elasticsearch:4.2.3
Description
updateByQueryRequest
takes only the fist index from IndexCoordinates
and therefore creates an update request with the single index, instead of that the request should contain all indices passed in IndexCoordinates
public UpdateByQueryRequest updateByQueryRequest(UpdateQuery query, IndexCoordinates index) {
String indexName = index.getIndexName(); // takes only the fist index from IndexCoordinates
// String[] indexName = index.getIndexNames(); - should take all index names instead
final UpdateByQueryRequest updateByQueryRequest = new UpdateByQueryRequest(indexName);
// ...
}