I opened SOLR-12224 for this:
https://issues.apache.org/jira/browse/SOLR-12224

On 14.04.2018 01:49, Shawn Heisey wrote:
On 4/13/2018 5:07 PM, Tomás Fernández Löbbe wrote:
Yes... Unfortunately there is no GET API :S Can you open a Jira? Patch
should be trivial
My suggestion would be to return the list of properties for a collection
when a URL like this is used:

/solr/admin/collections?action=COLLECTIONPROP&name=gettingstarted

At the moment, this complains that he propertyName parameter is required
and missing.

If the "name" parameter is omitted, it should return the properties for
ALL collections.  The format of the single-collection response should be
the same as the all-collection response -- in the JSON, have a key for
the collection name and then under that, keys for each property.  It
would be nice to allow multiple "name" parameters for the list (when
propertyName is not present).

Do we also need a specific parameter to explicitly tell Solr to list the
properties?  Or maybe an explicit action value for listing them, like
LISTCOLLECTIONPROP?

Thanks,
Shawn


Reply via email to