Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13273

Add a collection selector to policy rules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 8.2, 9.0
    • AutoScaling
    • None

    Description

      Today, we must specify the exact collection name on which a policy rule is applied or omit it entirely in which case the rule matches all collections. In case a rule must apply to a subset of collections, before we create a new collection, we must copy over the rule with the collection name changed to the new collection.

      It'd be nice to have a selector for collections based on the collection property.

      For example:

      {"replica": "#ALL", "collection":{"property_name":"property_value"}, "sysprop.node_type": "xyz"}
      

      The above rule matches all collections which have property_name set to property_value as a collection property. This makes it possible to add just one rule and have it apply to all collections having the property.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shalin Shalin Shekhar Mangar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: