public class ForceMergeRequest extends BroadcastRequest<ForceMergeRequest>
maxNumSegments(int) allows to control the number of segments
to force merge down to. Defaults to simply checking if a merge needs
to execute, and if so, executes it| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
ForceMergeRequest.Defaults |
TransportRequest.EmptyIndicesRequest.Replaceableindicesheaders| コンストラクタと説明 |
|---|
ForceMergeRequest() |
ForceMergeRequest(String... indices)
Constructs a merge request over one or more indices.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
flush()
Should flush be performed after the merge.
|
ForceMergeRequest |
flush(boolean flush)
Should flush be performed after the merge.
|
int |
maxNumSegments()
Will merge the index down to <= maxNumSegments.
|
ForceMergeRequest |
maxNumSegments(int maxNumSegments)
Will merge the index down to <= maxNumSegments.
|
boolean |
onlyExpungeDeletes()
Should the merge only expunge deletes from the index, without full merging.
|
ForceMergeRequest |
onlyExpungeDeletes(boolean onlyExpungeDeletes)
Should the merge only expunge deletes from the index, without full merge.
|
void |
readFrom(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
indices, indices, indicesOptions, indicesOptions, validatecreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic ForceMergeRequest(String... indices)
indices - The indices to merge, no indices passed means all indices will be merged.public ForceMergeRequest()
public int maxNumSegments()
public ForceMergeRequest maxNumSegments(int maxNumSegments)
public boolean onlyExpungeDeletes()
public ForceMergeRequest onlyExpungeDeletes(boolean onlyExpungeDeletes)
public boolean flush()
public ForceMergeRequest flush(boolean flush)
public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 BroadcastRequest<ForceMergeRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 BroadcastRequest<ForceMergeRequest>IOExceptionCopyright © 2009–2016. All rights reserved.