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:22 UTC
lucene-solr:branch_6_6: SOLR-10447: Ref guide documentation
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6_6 5c4f0a27a -> 0a28cdea5
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/0a28cdea
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/0a28cdea
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/0a28cdea
Branch: refs/heads/branch_6_6
Commit: 0a28cdea55decf0d6bd26daa8fa67e18bdfa7ad5
Parents: 5c4f0a2
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:59:12 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/0a28cdea/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