Package | Description |
---|---|
org.elasticsearch.action.admin.indices.optimize |
Optimize index/indices action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
OptimizeRequestBuilder |
OptimizeAction.newRequestBuilder(IndicesAdminClient client) |
OptimizeRequestBuilder |
OptimizeRequestBuilder.setFlush(boolean flush)
Should flush be performed after the optimization.
|
OptimizeRequestBuilder |
OptimizeRequestBuilder.setForce(boolean force)
Should the merge be forced even if there is a single segment with no deletions in the shard.
|
OptimizeRequestBuilder |
OptimizeRequestBuilder.setMaxNumSegments(int maxNumSegments)
Will optimize the index down to <= maxNumSegments.
|
OptimizeRequestBuilder |
OptimizeRequestBuilder.setOnlyExpungeDeletes(boolean onlyExpungeDeletes)
Should the optimization only expunge deletes from the index, without full optimization.
|
Modifier and Type | Method and Description |
---|---|
OptimizeRequestBuilder |
IndicesAdminClient.prepareOptimize(String... indices)
Explicitly optimize one or more indices into a the number of segments.
|
Modifier and Type | Method and Description |
---|---|
OptimizeRequestBuilder |
AbstractIndicesAdminClient.prepareOptimize(String... indices) |
Copyright © 2009–2015. All rights reserved.