You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/03/23 11:46:12 UTC

[GitHub] [solr] epugh commented on a change in pull request #41: SOLR-11646: document v2 api (WIP)

epugh commented on a change in pull request #41:
URL: https://github.com/apache/solr/pull/41#discussion_r599495520



##########
File path: solr/solr-ref-guide/src/collections-api.adoc
##########
@@ -42,22 +42,52 @@ As of now, REQUESTSTATUS does not automatically clean up the tracking data struc
 
 *Input*
 
+[.dynamic-tabs]
+--
+[example.tab-pane#v1asyncexample]
+====
+[.tab-label]*V1 API*
+
+[source,bash]
+----
+http://localhost:8983/solr/admin/collections?action=SPLITSHARD&collection=collection1&shard=shard1&async=1000

Review comment:
       ;-)   I think the reason was that the V2 api's use of JSON meant that having the full spelled out curl command was much more useful..    In v1, you just cut'n'paste the URL into your browser and off it goes!
   
   What I'd really like is to take a page from Elasticsearch docs, and instead have a "copy as curl" option that adds all the curl wrapper around the example.  




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org