View | Details | Raw Unified | Return to bug 26996
Collapse All | Expand All

(-)a/misc/search_tools/rebuild_elasticsearch.pl (-1 / +1 lines)
Lines 188-193 if ($slice_count > 1) { Link Here
188
    }
188
    }
189
    # Fudge the commit count a bit to spread out the Elasticsearch commits
189
    # Fudge the commit count a bit to spread out the Elasticsearch commits
190
    $commit *= 1 + 0.10 * $slice_index;
190
    $commit *= 1 + 0.10 * $slice_index;
191
    $commit = int( $commit );
191
    _log(1, "Processing slice @{[$slice_index + 1]} of $slice_count\n");
192
    _log(1, "Processing slice @{[$slice_index + 1]} of $slice_count\n");
192
    $iterator_options{slice} = { index => $slice_index, count => $slice_count };
193
    $iterator_options{slice} = { index => $slice_index, count => $slice_count };
193
}
194
}
194
- 

Return to bug 26996