You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2017/06/02 15:29:02 UTC

lucene-solr:branch_6x: SOLR-10447: Ref guide documentation

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x f358c6834 -> a607efa6f


SOLR-10447: Ref guide documentation


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/a607efa6
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/a607efa6
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/a607efa6

Branch: refs/heads/branch_6x
Commit: a607efa6fd3b9f56a2afaad5e2634df216c4eff4
Parents: f358c68
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Fri Jun 2 20:58:22 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Fri Jun 2 20:58:51 2017 +0530

----------------------------------------------------------------------
 solr/solr-ref-guide/src/collections-api.adoc | 30 +++++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/a607efa6/solr/solr-ref-guide/src/collections-api.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/collections-api.adoc b/solr/solr-ref-guide/src/collections-api.adoc
index 0857744..8227c77 100644
--- a/solr/solr-ref-guide/src/collections-api.adoc
+++ b/solr/solr-ref-guide/src/collections-api.adoc
@@ -527,6 +527,36 @@ http://localhost:8983/solr/admin/collections?action=DELETEALIAS&name=testalias
 </response>
 ----
 
+[[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]
+----
+<response>
+  <lst name="responseHeader">
+    <int name="status">0</int>
+    <int name="QTime">0</int>
+  </lst>
+  <lst name="aliases">
+    <str name="testalias1">collection1</str>
+    <str name="testalias2">collection2</str>
+  </lst>
+</response>
+----
+
+
 [[CollectionsAPI-delete]]
 == DELETE: Delete a Collection