You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/06/07 14:11:18 UTC
[14/50] [abbrv] lucene-solr:feature/autoscaling: SOLR-10447: Ref
guide documentation
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/feature/autoscaling
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