[jira] [Updated] (SOLR-11090) add Replica.getProperty accessor
[ https://issues.apache.org/jira/browse/SOLR-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christine Poerschke updated SOLR-11090: --- Attachment: SOLR-11090.patch Patch rebased against latest master branch. > add Replica.getProperty accessor > > > Key: SOLR-11090 > URL: https://issues.apache.org/jira/browse/SOLR-11090 > Project: Solr > Issue Type: Task >Reporter: Christine Poerschke >Assignee: Christine Poerschke >Priority: Minor > Attachments: SOLR-11090.patch, SOLR-11090.patch > > > {code} > ?action=ADDREPLICAPROP&...=propertyName=value > {code} > and > {code} > ?action=ADDREPLICAPROP&...=property.propertyName=value > {code} > are equivalent forms for use of the > [ADDREPLICAPROP|https://lucene.apache.org/solr/guide/6_6/collections-api.html] > collection API action. > At present within the code only the generic getStr i.e. > {code} > replica.getStr("property.propertyName") > {code} > is available to obtain a replica property. > This ticket proposes a {{replica.getProperty(String)}} accessor which > supports both equivalent forms i.e. > {code} > replica.getProperty("propertyName") > {code} > and > {code} > replica.getProperty("property.propertyName") > {code} > to be used. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11090) add Replica.getProperty accessor
[ https://issues.apache.org/jira/browse/SOLR-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christine Poerschke updated SOLR-11090: --- Attachment: SOLR-11090.patch Attaching proposed patch. > add Replica.getProperty accessor > > > Key: SOLR-11090 > URL: https://issues.apache.org/jira/browse/SOLR-11090 > Project: Solr > Issue Type: Task >Reporter: Christine Poerschke >Assignee: Christine Poerschke >Priority: Minor > Attachments: SOLR-11090.patch > > > {code} > ?action=ADDREPLICAPROP&...=propertyName=value > {code} > and > {code} > ?action=ADDREPLICAPROP&...=property.propertyName=value > {code} > are equivalent forms for use of the > [ADDREPLICAPROP|https://lucene.apache.org/solr/guide/6_6/collections-api.html] > collection API action. > At present within the code only the generic getStr i.e. > {code} > replica.getStr("property.propertyName") > {code} > is available to obtain a replica property. > This ticket proposes a {{replica.getProperty(String)}} accessor which > supports both equivalent forms i.e. > {code} > replica.getProperty("propertyName") > {code} > and > {code} > replica.getProperty("property.propertyName") > {code} > to be used. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org