I'll open a JIRA in a second. My puzzlement was the mis-match between
the method name and the returned value struck me as odd...

Not a big deal, the root question is how to get the configset name
from a core descriptor.

Erick

On Tue, Mar 22, 2016 at 1:17 AM, Alan Woodward <[email protected]> wrote:
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to