for (Slice slice :
> > > > >
> > > > >
> > > >
> > >
> >
> zkController.getClusterState().getCollection(fromIndex).getActiveSlicesArr())
> > > > > {
> > > > > if (fromReplica != null)
> > > > &g
t;
> zkController.getClusterState().getCollection(fromIndex).getActiveSlicesArr())
> > > > > {
> > > > > if (fromReplica != null)
> > > > > throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
> > > > > "
yet supported " +
> > > > fromIndex);
> > > > for (Replica replica : slice.getReplicas()) {
> > > > if (replica.getNodeName().equals(nodeName)) {
> > > > fromReplica = replica.getStr(ZkStateReader.CORE_NAME_PROP);
> >
t;
> > > if (fromReplica == null)
> > > throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
> > > "SolrCloud join: No active replicas for "+fromIndex+
> > > " found in node " + nodeName);
> > >
fromReplica;
> > }
> >
> >
> > when i run joining from movies on 8983, slice length is 2 as movies have
> 2
> > shards. "fromReplica " was assigned in second cycle, because
> zkController
> > name is 8983 and replica name is 8984 in first cyc
2 as movies have 2
> shards. "fromReplica " was assigned in second cycle, because zkController
> name is 8983 and replica name is 8984 in first cycle.
>
> but when run on 8984, "fromReplica" was assigned in first cycle, because
> zkController name isand replica name
ond cycle.
Thanks for your patience, it's too long. i'm confused about why use this
way to judge "multiple shards", because the result is also wrong running on
8983 even if didnt throw exception. why dont use slice length>1 to judge
"multiple shards" ? or maybe h
ote:
>
> Hello,
>
> I have a question about solrCloud joining. i knew solrCloud joining can do
> join only when index is not splited to shards, but when i test it, i found a
> problem which make me confused.
>
> i tested it on version 8.2
>
> assuming i hav
Hello,
I have a question about solrCloud joining. i knew solrCloud joining can do
join only when index is not splited to shards, but when i test it, i found
a problem which make me confused.
i tested it on version 8.2
assuming i have 2 collections like sample about "joining" on so