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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org