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

Correct API paths in "Task Management" ref guide page

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 9.1, main (10.0)
    • documentation
    • None

    Description

      The "Task Management" Task Management page in the ref-guide has API paths for the list-task and cancel-task APIs that appear to not match their actual paths at runtime.

      Documented in Ref Guide

      • List Tasks: /solr/tasks/list
      • Cancel Tasks: /solr/tasks/cancel

      But it looks like the documentation is missing a collection-name. Querying the APIs as-documented returns 404's.

      $ curl -ilk -X GET "http://localhost:8983/solr/tasks/list"
      HTTP/1.1 404 Not Found
      ...
      $ curl -ilk -X GET "http://localhost:8983/solr/tasks/cancel"
      HTTP/1.1 404 Not Found
      ...
      

      Adding a collection name has them return correctly:

      $ curl -ilk -X GET "http://localhost:8983/solr/books/tasks/list"                 
      HTTP/1.1 200 OK
      ...
      $ curl -ilk -X GET "http://localhost:8983/solr/books/tasks/cancel?queryUUID=asdf"
      HTTP/1.1 200 OK
      ...
      

      Assuming that actual paths are what we expect, then the ref-guide docs should be updated to match.

      Attachments

        Issue Links

          Activity

            People

              gerlowskija Jason Gerlowski
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h 40m
                  1h 40m