You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2022/05/13 16:03:00 UTC

[jira] [Created] (SOLR-16195) Correct API paths in "Task Management" ref guide page

Jason Gerlowski created SOLR-16195:
--------------------------------------

             Summary: Correct API paths in "Task Management" ref guide page
                 Key: SOLR-16195
                 URL: https://issues.apache.org/jira/browse/SOLR-16195
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: documentation
    Affects Versions: 9.0, main (10.0)
            Reporter: Jason Gerlowski


The "Task Management" [Task Management|https://github.com/apache/solr/blob/branch_9_0/solr/solr-ref-guide/modules/deployment-guide/pages/task-management.adoc] 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.
{code:java}
$ 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
...
{code}
Adding a collection name has them return correctly:
{code:java}
$ 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
...
{code}

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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org