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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.4
    • 8.4
    • documentation
    • 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
          3 kB
          Munendra S N
        2. SOLR-12769.patch
          2 kB
          Munendra S N

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: