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

Incorrect documentation for Request Parameter API names (unset/delete)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 8.4
    • Component/s: documentation
    • Labels:
      None

      Description

      The documentation for the Request Parameter APIhttps://lucene.apache.org/solr/guide/7_4/request-parameters-api.html#setting-request-parameters names operations as set/update/unset.

      So does the introspection.

      However, the code for the SolrConfigHandler#handleParams uses set/update/delete. So, the unset is not a correct description. The manual testing also shows only delete command working.

      Furthermore, the format of the delete command is different from others (array, not map), so this should be documented as well.

        Attachments

        1. SOLR-12769.patch
          2 kB
          Munendra S N
        2. SOLR-12769.patch
          3 kB
          Munendra S N

          Activity

            People

            • Assignee:
              munendrasn Munendra S N
              Reporter:
              arafalov Alexandre Rafalovitch
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: