fix logging

This commit is contained in:
kimchy 2010-05-22 02:50:35 +03:00
parent 6191bf9cdc
commit 66158ffc19
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {