You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2017/01/02 17:59:58 UTC

[jira] [Commented] (SOLR-4983) Problematic core naming by collection create API

    [ https://issues.apache.org/jira/browse/SOLR-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15793252#comment-15793252 ] 

Erick Erickson commented on SOLR-4983:
--------------------------------------

Ran across this looking for something else.

I think the core naming questions are taken care of.

As far as joins are concerned, between the "cross collection join" where the "from" collection must exist in toto on each replica and the Streaming stuff, can this be closed?

[~markrmiller@gmail.com] [~noble.paul] any opinions?

> Problematic core naming by collection create API 
> -------------------------------------------------
>
>                 Key: SOLR-4983
>                 URL: https://issues.apache.org/jira/browse/SOLR-4983
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Chris Toomey
>
> The SolrCloud collection create API creates cores named "foo_shard<x>_replica<y>" when asked to create collection "foo".
> This is problematic for at least 2 reasons: 
> 1) these ugly core names show up in the core admin UI, and will vary depending on which node is being used,
> 2) it prevents collections from being used in SolrCloud joins, since join takes a core name as the fromIndex parameter and there's no single core name for the collection.  As I've documented in https://issues.apache.org/jira/browse/SOLR-4905 and http://lucene.472066.n3.nabble.com/Joins-with-SolrCloud-tp4073199p4074038.html, SolrCloud join does work when the inner collection (fromIndex) is not sharded, assuming that collection is available and initialized at SolrCloud bootstrap time.
> Could this be changed to instead use the collection name for the core name?  Or at least add a core-name option to the API?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org