You should absolutely always use the Collection API rather than any core admin API if at all possible. If for no other reason than your client will be _lots_ simpler (i.e. you don't have to find all the replicas and issue the core admin RELOAD command for each one).
I'm not entirely sure whether the RELOAD command is synchronous or not though. Best, erick On Fri, Dec 11, 2015 at 8:22 AM, Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Hi all, > > in day by day work, often I need to change the solr configurations files. > Often adding new synonyms, changing the schema or the solrconfig.xml. > > Everything is stored in zookeeper. > > But I have inherited a piece of code that, after every change, reload all > the cores using CoreAdmin API. > > Now I have 15 replicas in the collection, and after every core reload the > code waits for 60 seconds (I suppose it's because who wrote the code was > worried about the cache invalidation). > > Given that, it takes about 25 minutes to update all the cores. Obviously > during this time we cannot modify the collection. > > The question is, to reduce this wait, if I use the collection API RELOAD, > what are the counter indication? > > Thanks in advance for your time, > Vincenzo > > > -- > Vincenzo D'Amore > email: v.dam...@gmail.com > skype: free.dev > mobile: +39 349 8513251