fix logging
This commit is contained in:
parent
6191bf9cdc
commit
66158ffc19
|
@ -56,7 +56,7 @@ public class BalancedSegmentMergePolicyProvider extends AbstractIndexShardCompon
|
|||
this.useCompoundFile = componentSettings.getAsBoolean("use_compound_file", store == null || store.suggestUseCompoundFile());
|
||||
|
||||
logger.debug("Using [balanced] merge policy with merge_factor[{}], min_merge_size[{}], max_merge_size[{}], max_merge_docs[{}] use_compound_file[{}]",
|
||||
new Object[]{mergeFactor, minMergeSize, maxMergeSize, maxMergeDocs, useCompoundFile});
|
||||
mergeFactor, minMergeSize, maxMergeSize, maxMergeDocs, useCompoundFile);
|
||||
}
|
||||
|
||||
@Override public BalancedSegmentMergePolicy newMergePolicy(IndexWriter indexWriter) {
|
||||
|
|
|
@ -51,7 +51,7 @@ public class LogByteSizeMergePolicyProvider extends AbstractIndexShardComponent
|
|||
this.calibrateSizeByDeletes = componentSettings.getAsBoolean("calibrate_size_by_deletes", false);
|
||||
this.useCompoundFile = componentSettings.getAsBoolean("use_compound_file", store == null || store.suggestUseCompoundFile());
|
||||
logger.debug("Using [log_bytes_size] merge policy with merge_factor[{}], min_merge_size[{}], max_merge_size[{}], max_merge_docs[{}] use_compound_file[{}], calibrate_size_by_deletes[{}]",
|
||||
new Object[]{mergeFactor, minMergeSize, maxMergeSize, maxMergeDocs, useCompoundFile, calibrateSizeByDeletes});
|
||||
mergeFactor, minMergeSize, maxMergeSize, maxMergeDocs, useCompoundFile, calibrateSizeByDeletes);
|
||||
}
|
||||
|
||||
@Override public LogByteSizeMergePolicy newMergePolicy(IndexWriter indexWriter) {
|
||||
|
|
|
@ -47,7 +47,7 @@ public class LogDocMergePolicyProvider extends AbstractIndexShardComponent imple
|
|||
this.calibrateSizeByDeletes = componentSettings.getAsBoolean("calibrate_size_by_deletes", false);
|
||||
this.useCompoundFile = componentSettings.getAsBoolean("use_compound_file", store == null || store.suggestUseCompoundFile());
|
||||
logger.debug("Using [log_doc] merge policy with merge_factor[{}] min_merge_docs[{}], max_merge_docs[{}], use_compound_file[{}], calibrate_size_by_deletes[{}]",
|
||||
new Object[]{mergeFactor, minMergeDocs, maxMergeDocs, useCompoundFile, calibrateSizeByDeletes});
|
||||
mergeFactor, minMergeDocs, maxMergeDocs, useCompoundFile, calibrateSizeByDeletes);
|
||||
}
|
||||
|
||||
@Override public LogDocMergePolicy newMergePolicy(IndexWriter indexWriter) {
|
||||
|
|
Loading…
Reference in New Issue