You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
// ...
}
The text was updated successfully, but these errors were encountered:
Note: The code in main using the new Elasticsearch client handles this correctly, must be fixed in the deprecated code for the old client there and backported to 4.4 and 4.3 (4.2 is out of maintenance)
Version
spring-data-elasticsearch:4.2.3
Description
updateByQueryRequest
takes only the fist index fromIndexCoordinates
and therefore creates an update request with the single index, instead of that the request should contain all indices passed inIndexCoordinates
The text was updated successfully, but these errors were encountered: