You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by rashi gandhi <ga...@gmail.com> on 2015/12/03 18:12:11 UTC

How to list all collections in solr-4.7.2

Hi all,

I have setup two solr-4.7.2 server instances on two diff machines with 3
zookeeper severs in solrcloud mode.

Now, I want to retrieve list of all the collections that I have created in
solrcloud mode.

I tried LIST command of collections api, but its not working with
solr-4.7.2.
Error: unknown command LIST

Please suggest me the command, that I can use.

Thanks.

Re: How to list all collections in solr-4.7.2

Posted by Jeff Wartes <jw...@whitepages.com>.
Looks like LIST was added in 4.8, so I guess you’re stuck looking at ZK,
or finding some tool that looks in ZK for you.

The zkCli.sh that ships with zookeeper would probably suffice for a
one-off manual inspection:
https://zookeeper.apache.org/doc/trunk/zookeeperStarted.html#sc_ConnectingT
oZooKeeper



On 12/3/15, 12:05 PM, "Pushkar Raste" <pu...@gmail.com> wrote:

>Will 'wget http://host;port//solr/admin/collections?action=LIST' help?
>
>On 3 December 2015 at 12:12, rashi gandhi <ga...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have setup two solr-4.7.2 server instances on two diff machines with 3
>> zookeeper severs in solrcloud mode.
>>
>> Now, I want to retrieve list of all the collections that I have created
>>in
>> solrcloud mode.
>>
>> I tried LIST command of collections api, but its not working with
>> solr-4.7.2.
>> Error: unknown command LIST
>>
>> Please suggest me the command, that I can use.
>>
>> Thanks.
>>


Re: How to list all collections in solr-4.7.2

Posted by Pushkar Raste <pu...@gmail.com>.
Will 'wget http://host;port//solr/admin/collections?action=LIST' help?

On 3 December 2015 at 12:12, rashi gandhi <ga...@gmail.com> wrote:

> Hi all,
>
> I have setup two solr-4.7.2 server instances on two diff machines with 3
> zookeeper severs in solrcloud mode.
>
> Now, I want to retrieve list of all the collections that I have created in
> solrcloud mode.
>
> I tried LIST command of collections api, but its not working with
> solr-4.7.2.
> Error: unknown command LIST
>
> Please suggest me the command, that I can use.
>
> Thanks.
>