From ed7166227500891e13c982a2f681962a6b56e5f4 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Fri, 22 Jun 2012 18:18:18 +0200 Subject: [PATCH] add debug log if using compressed stored fields --- src/main/java/org/elasticsearch/index/store/Store.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/elasticsearch/index/store/Store.java b/src/main/java/org/elasticsearch/index/store/Store.java index 18d98058eeb..44360f90f1b 100644 --- a/src/main/java/org/elasticsearch/index/store/Store.java +++ b/src/main/java/org/elasticsearch/index/store/Store.java @@ -110,6 +110,9 @@ public class Store extends AbstractIndexShardComponent { this.directory = new StoreDirectory(directoryService.build()); this.compressedStoredFields = componentSettings.getAsBoolean("compress.stored_fields", false); + + logger.debug("using compress.stored_fields [{}]", compressedStoredFields); + indexSettingsService.addListener(applySettings); }