Yes, Solr will pick that up. You won't have any replicas though so you'll have to ADDREPLICA afterwards. You could use the EMPTY option on the creteNodeSet of the Collections API to create a dummy collection to see what a no-replica shard should look like as a model
Best, Erick On Mon, Jun 13, 2016 at 2:40 AM, Henrik Brautaset Aronsen <hen...@synth.no> wrote: > On Mon, Jun 13, 2016 at 1:50 AM, Erick Erickson <erickerick...@gmail.com> > wrote: > >> So to be clear we're talking about the same thing, your >> Zookeeper has a collections>>my_collection>>state.json >> ZNode. In that state.json you have information >> for all the shards, and you're saying that you had >> only 16 when there used to be 20, right? >> > > Yup. > > If that's the case I'd be really curious how that happened, >> because there's no reason Solr should have done >> that. >> > > I agree, it's disturbing! I thought about just editing state.json (through > zkNavigator), adding the missing shards. Would Solr have picked that up? > > Henrik