[ https://issues.apache.org/jira/browse/SOLR-16195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538783#comment-17538783 ]
ASF subversion and git services commented on SOLR-16195: -------------------------------------------------------- Commit c23ecd63f1837815bf41db64b6b06b6e22f9793c in solr's branch refs/heads/main from Jason Gerlowski [ https://gitbox.apache.org/repos/asf?p=solr.git;h=c23ecd63f18 ] SOLR-16195: Correct task-mgmt API paths in ref-guide (#862) > 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 > Assignee: Jason Gerlowski > Priority: Minor > Time Spent: 0.5h > Remaining Estimate: 0h > > 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