Shalin Shekhar Mangar created SOLR-11987:
--------------------------------------------

             Summary: Support a comment attribute in policy rules and 
preferences
                 Key: SOLR-11987
                 URL: https://issues.apache.org/jira/browse/SOLR-11987
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
            Reporter: Shalin Shekhar Mangar
             Fix For: master (8.0), 7.3


It is useful to add comments/notes to a policy rule to explain why it was put 
in place or what it does. Although JSON comments are supported by Solr but the 
comments are lost when parsed and persisted to ZK.

{code}
{"replica": "<2", "shard":"#EACH", "node":"#ANY", 
"comment":"Do not keep more than one replica of a shard in any node" }
{code}



--
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

Reply via email to