[
https://issues.apache.org/jira/browse/SOLR-6447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130175#comment-14130175
]
ASF subversion and git services commented on SOLR-6447:
-------------------------------------------------------
Commit 1624323 from [~thelabdude] in branch 'dev/branches/lucene_solr_4_10'
[ https://svn.apache.org/r1624323 ]
SOLR-6447: set -DnumShards=1 for collection1 when starting Solr in cloud mode
using bin/solr.
> bin/solr -c doesn't set numShards for collection1
> -------------------------------------------------
>
> Key: SOLR-6447
> URL: https://issues.apache.org/jira/browse/SOLR-6447
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.10, 5.0
> Reporter: Timothy Potter
> Assignee: Timothy Potter
> Fix For: 4.11, 5.0
>
>
> bin/solr -c will start Solr in cloud mode. Since collection1 includes a
> core.properties, it will be auto-discovered and created into a collection. So
> the script uses:
> -Dbootstrap_confdir=./solr/collection1/conf -Dcollection.configName=myconf
> However, it's not setting -DnumShards for collection1, which results in
> collection1 being created using the implicit router and a null range. While
> we have this collection1 being auto-deployed, the script should set numShards
> as well so that collection1 is created correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]