From ac26d81116079365dfdb8d70e8e0f50f93749b8b Mon Sep 17 00:00:00 2001 From: Ishan Chattopadhyaya Date: Fri, 2 Jun 2017 20:58:22 +0530 Subject: [PATCH] SOLR-10447: Ref guide documentation --- solr/solr-ref-guide/src/collections-api.adoc | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/solr/solr-ref-guide/src/collections-api.adoc b/solr/solr-ref-guide/src/collections-api.adoc index 3300b6ecb01..35300a34f82 100644 --- a/solr/solr-ref-guide/src/collections-api.adoc +++ b/solr/solr-ref-guide/src/collections-api.adoc @@ -536,6 +536,36 @@ http://localhost:8983/solr/admin/collections?action=DELETEALIAS&name=testalias ---- +[[CollectionsAPI-listaliases]] +== LISTALIASES: List of all aliases in the cluster + +`/admin/collections?action=LISTALIASES` + +[[CollectionsAPI-Output.6]] +=== Output + +The output will contain a list of aliases with the corresponding collection names. + +[[CollectionsAPI-Examples.6]] +=== Examples + +*Output* + +[source,xml] +---- + + + 0 + 0 + + + collection1 + collection2 + + +---- + + [[CollectionsAPI-delete]] == DELETE: Delete a Collection