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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              munendrasn Munendra S N
              Reporter:
              arafalov Alexandre Rafalovitch

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment