ShrinkIndexDescriptor
public class ShrinkIndexDescriptor : RequestDescriptorBase<ShrinkIndexDescriptor, ShrinkIndexRequestParameters, IShrinkIndexRequest>, IShrinkIndexRequest, IRequest<ShrinkIndexRequestParameters>, IRequest
Descriptor for Shrink
https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html
/{index}/_shrink/{target}
protected ShrinkIndexDescriptor()
Used for serialization purposes, making sure we have a parameterless constructor
The name of the source index to shrink
a shortcut into calling Index(typeof(TOther))
Specify timeout for connection to master
public ShrinkIndexDescriptor Settings(Func<IndexSettingsDescriptor, IPromise<IIndexSettings>> selector)
Explicit operation timeout
Set the number of active shards to wait for on the shrunken index before the operation returns.