-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementhelp wantedadoptmeadoptme
Description
Background:
Right now reindex and friends have a slices parameter that you can set to automatically parallelize the process. Setting the right value for the slices parameter is a little involved but we have documented guidelines.
Question:
Is it worth implementing something like ?slices=auto? We can do a fairly good job picking the number of slices with something simple like:
if (sourceIndex.numberOfShards > 50) {
slices = 1; // too big, user should optimize it by hand.
} else {
slices = sourceIndex.numberOfShards;
}
The point here is that ?slices=auto can be a sane default. Maybe, even, it could be the default in 6.0.
Metadata
Metadata
Assignees
Labels
:Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.A catch all label for issues around indexing, updating and getting a doc by id. Not search.>enhancementhelp wantedadoptmeadoptme