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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@apache.org
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: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...