Christine Poerschke created SOLR-11090:
------------------------------------------

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


{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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to