[ https://issues.apache.org/jira/browse/SOLR-13325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113750#comment-17113750 ]
ASF subversion and git services commented on SOLR-13325: -------------------------------------------------------- Commit 338671e511b753955f7186e7063cd95824cdf4e0 in lucene-solr's branch refs/heads/master from Shalin Shekhar Mangar [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=338671e ] SOLR-13325: Add a collection selector to ComputePlanAction (#1512) ComputePlanAction now supports a collection selector of the form `collections: {policy: my_policy}` which can be used to select multiple collections that match collection property/value pairs. This is useful to maintain a whitelist of collections for which actions should be taken without needing to hard-code the collection names. The collection hints are pushed down to the policy engine so operations for non-matching collections are not computed at all. The AutoAddReplicasPlanAction now becomes a thin shim over ComputePlanAction and simply adds a collection selector for the collection property autoAddReplicas=true. > Add a collection selector to ComputePlanAction > ---------------------------------------------- > > Key: SOLR-13325 > URL: https://issues.apache.org/jira/browse/SOLR-13325 > Project: Solr > Issue Type: Improvement > Components: AutoScaling > Reporter: Shalin Shekhar Mangar > Priority: Major > Fix For: master (9.0), 8.6 > > Time Spent: 1h > Remaining Estimate: 0h > > Similar to SOLR-13273, it'd be nice to have a collection selector that > applies to compute plan action. An example use-case would be to selectively > add replicas on new nodes for certain collections only. > Here is a selector that returns collections that match the given collection > property/value pair: > {code} > "collection": {"property_name": "property_value"} > {code} > Here's another selector that returns collections that have the given policy > applied > {code} > "collection": {"#policy": "policy_name"} > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org