Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11090

add Replica.getProperty accessor

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1, master (8.0)
    • Component/s: None
    • Labels:
      None

      Description

      ?action=ADDREPLICAPROP&...&property=propertyName&property.value=value
      

      and

      ?action=ADDREPLICAPROP&...&property=property.propertyName&property.value=value
      

      are equivalent forms for use of the ADDREPLICAPROP collection API action.

      At present within the code only the generic getStr i.e.

      replica.getStr("property.propertyName")
      

      is available to obtain a replica property.

      This ticket proposes a replica.getProperty(String) accessor which supports both equivalent forms i.e.

      replica.getProperty("propertyName")
      

      and

      replica.getProperty("property.propertyName")
      

      to be used.

        Attachments

        1. SOLR-11090.patch
          21 kB
          Christine Poerschke
        2. SOLR-11090.patch
          21 kB
          Christine Poerschke

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              cpoerschke Christine Poerschke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: