You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/09 10:16:00 UTC

[jira] [Commented] (SOLR-11090) add Replica.getProperty accessor

    [ https://issues.apache.org/jira/browse/SOLR-11090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119673#comment-16119673 ] 

ASF subversion and git services commented on SOLR-11090:
--------------------------------------------------------

Commit 8e2dab7315739a0f5194600ee524f6a2ea616af6 in lucene-solr's branch refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8e2dab7 ]

SOLR-11090: Add Replica.getProperty accessor.


> 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