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

Add warning to ref guide that using "properties.name" is an expert option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 8.8
    • None
    • None

    Description

      This came to light when I was looking at two user-list questions where people try to manually define core.properties to define replicas in SolrCloud. There are two related issues:

      1> You can do things like "action=CREATE&name=eoe&property.collection=blivet" which results in an opaque error about "could not create replica....." I propose we return a better error here like "property.collection should not be specified when creating a collection". What do people think about the rest of the auto-created properties on collection creation?

      coreNodeName
      collection.configName
      name
      numShards
      shard
      collection
      replicaType

      "name" seems to be OK to change, although i don't see anyplace anyone can actually see it afterwards....

      2> Change the ref guide to steer people away from attempting to manually create a core.properties file to define cores/replicas in SolrCloud. There's no warning on the "defining-core-properties.adoc" for instance. Additionally there should be some kind of message on the collections API documentation about not trying to set the properties in <1> on the CREATE command.

      <2> used to actually work (apparently) with legacyCloud...

      Attachments

        Issue Links

          Activity

            People

              erickerickson Erick Erickson
              erickerickson Erick Erickson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m