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

MODIFYCOLLECTION with 'property.*' changes can't change values used in config file variables (even though they can be set during collection CREATE)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Consider a configset with a  solrconfig.xml that includes a snippet like this...

      <str name="param.check">${custom.prop:customDefVal}</str>
      

      ...this custom.prop can be set when doing a CREATE command for a collection that uses this configset, using the property.* prefix as noted in the reg-guide...

      property.name=value

      Optional Default: none

      Set core property name to value. See the section Core Discovery for details on supported properties and values.

      ...BUT....

      These values can not be changed by using the MODIFYCOLLECTION command, in spite of the ref-guide indicating that it can be used to modify custom property.* attributes...

      The attributes that can be modified are:

      • replicationFactor
      • collection.configName
      • readOnly
      • other custom properties that use a property. prefix
        See the CREATE action section above for details on these attributes.

      Attachments

        1. SOLR-16305_test.patch
          4 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: