Merge pull request #17162 from colings86/enhancement/enableRequestCacheDefault

Enable the indices request cache by default
This commit is contained in:
Colin Goodheart-Smithe 2016-03-17 09:11:21 +00:00
commit c62eff0ac9
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public final class IndicesRequestCache extends AbstractComponent implements Remo
* since we are checking on the cluster state IndexMetaData always.
*/
public static final Setting<Boolean> INDEX_CACHE_REQUEST_ENABLED_SETTING =
Setting.boolSetting("index.requests.cache.enable", false, Property.Dynamic, Property.IndexScope);
Setting.boolSetting("index.requests.cache.enable", true, Property.Dynamic, Property.IndexScope);
public static final Setting<ByteSizeValue> INDICES_CACHE_QUERY_SIZE =
Setting.byteSizeSetting("indices.requests.cache.size", "1%", Property.NodeScope);
public static final Setting<TimeValue> INDICES_CACHE_QUERY_EXPIRE =