You can specify the shard in core.properties ie:
core.properties:
name=collection2
shard=shard2

Did this solve it ?

From,
Thomas Egense




On Mon, Feb 25, 2013 at 5:13 PM, Mark Miller <markrmil...@gmail.com> wrote:

>
> On Feb 25, 2013, at 10:00 AM, "Markus.Mirsberger" <
> markus.mirsber...@gmx.de> wrote:
>
> > How can I fix the shardId used at one server when I create a collection?
> (Im using the solrj collections api to create collections)
>
> You can't do it with the collections API currently. If you want to control
> the shard names explicitly, you have to use the CoreAdmin API to create
> each core - that lets you set the shard id.
>
> - Mark

Reply via email to