logging rewrite
This commit is contained in:
parent
833418ca57
commit
f28511ea5e
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ public abstract class AbstractAdminClient extends AbstractBasicClient implements
|
||||||
@Override
|
@Override
|
||||||
public void forceMerge(String indexName, int maxNumSegments) {
|
public void forceMerge(String indexName, int maxNumSegments) {
|
||||||
ensureClientIsPresent();
|
ensureClientIsPresent();
|
||||||
logger.info("starting force merge of " + indexName + " to " + maxNumSegments + " segments");
|
logger.log(Level.INFO, "starting force merge of " + indexName + " to " + maxNumSegments + " segments");
|
||||||
ForceMergeRequest forceMergeRequest = new ForceMergeRequest();
|
ForceMergeRequest forceMergeRequest = new ForceMergeRequest();
|
||||||
forceMergeRequest.indices(indexName);
|
forceMergeRequest.indices(indexName);
|
||||||
forceMergeRequest.maxNumSegments(maxNumSegments);
|
forceMergeRequest.maxNumSegments(maxNumSegments);
|
||||||
|
|
Loading…
Reference in a new issue