Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-10-24 Thread Mark Miller
The merge can be really fast - it can just dump in the new segments and rewrite the segments file basically. I guess for you want, that's perhaps not the ideal route though. You could maybe try and use collection aliases. I thought about adding shard aliases way back, but never got to it. On Tue

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-10-23 Thread Ken Krugler
Hi Mark, I’ll have a completely new, rebuilt index that’s (a) large, and (b) already sharded appropriately. In that case, using the merge API isn’t great, in that it would take significant time and temporarily use double (or more) disk space. E.g. I’ve got an index with 250M+ records, and abou

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-05-19 Thread Mark Miller
You create MiniSolrCloudCluster with a base directory and then each Jetty instance created gets a SolrHome in a subfolder called node{i}. So if legacyCloud=true you can just preconfigure a core and index under the right node{i} subfolder. legacyCloud=true should not even exist anymore though, so th