Manipulate window size increments instead
@@ -193,7 +193,8 @@ public class Reindexer {
VisitorParameters createParameters(DocumentType type, ProgressToken progress) {
VisitorParameters parameters = new VisitorParameters(type.getName());
- parameters.setThrottlePolicy(new DynamicThrottlePolicy().setWeight(0.25));
+ parameters.setThrottlePolicy(new DynamicThrottlePolicy().setWindowSizeIncrement(4)
+ .setWindowSizeDecrementFactor(5));
parameters.setRemoteDataHandler(cluster.name());
parameters.setResumeToken(progress);
parameters.setFieldSet(type.getName() + ":[document]");
