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:28:35 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/master 2eb324f9b -> ac26d8111


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/ac26d811
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ac26d811
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ac26d811

Branch: refs/heads/master
Commit: ac26d81116079365dfdb8d70e8e0f50f93749b8b
Parents: 2eb324f
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:22 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/ac26d811/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 3300b6e..35300a3 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
 </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