You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/08/07 15:22:00 UTC

[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&...&property=propertyName&property.value=value
> {code}
> and
> {code}
> ?action=ADDREPLICAPROP&...&property=property.propertyName&property.value=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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org