[ https://issues.apache.org/jira/browse/SOLR-12908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16661542#comment-16661542 ]
Shalin Shekhar Mangar commented on SOLR-12908: ---------------------------------------------- We already have them? See SOLR-11051. >From Policy.java: {code} public static final List<Preference> DEFAULT_PREFERENCES = Collections.unmodifiableList( Arrays.asList( // NOTE - if you change this, make sure to update the solrcloud-autoscaling-overview.adoc which // lists the default preferences new Preference((Map<String, Object>) Utils.fromJSONString("{minimize : cores, precision:1}")), new Preference((Map<String, Object>) Utils.fromJSONString("{maximize : freedisk}")))); {code} > Add a default set of cluster preferences > ---------------------------------------- > > Key: SOLR-12908 > URL: https://issues.apache.org/jira/browse/SOLR-12908 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: AutoScaling > Reporter: Varun Thacker > Priority: Major > > Similar to SOLR-12845 where we want to add a set of default cluster policies, > we should add some default cluster preferences as well > > We should always be trying to minimze cores , maximize freedisk for example. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org