The configset name is only used in logging at the moment.  I agree that it 
would be useful to get the config that it was loaded from as well as the 
collection it's to be used for, though.  I'd say open a JIRA.

Alan Woodward
www.flax.co.uk


On 22 Mar 2016, at 01:21, Erick Erickson wrote:

> A client pointed this out. For arcane reasons they wanted to get the
> configset name given a CoreDescriptor and were trying to use
> CloudConfigSetService.configName(). The code for that method is:
> 
> public String configName(CoreDescriptor cd) {
>  return "collection " + cd.getCloudDescriptor().getCollectionName();
> }
> 
> 
> Does this ring any bells? Should I raise a JIRA? I'm not completely
> sure what the right thing to do here is, but it seems odd to return
> the collection from this method.
> 
> Alan Woodward: This is part of SOLR-4478, do you have any recollection
> of why it was done this way?
> 
> Erick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
> 

Reply via email to