Re: Replacing a Solr index on the fly using SolrJ

2014-08-08 Thread Shawn Heisey
On 8/8/2014 8:29 AM, Sören Schneider wrote: > Thanks for your helpful reply. Your code snippet works perfectly, but > I have another question. Do I have to manually move the index files in > the appropriate directories of the Solr cores, that should be swapped? > > Could you please post the content

Re: Replacing a Solr index on the fly using SolrJ

2014-08-08 Thread Sören Schneider
Hi Shawn, Thanks for your helpful reply. Your code snippet works perfectly, but I have another question. Do I have to manually move the index files in the appropriate directories of the Solr cores, that should be swapped? Could you please post the content of your "updateDirectories()" method?

Re: Replacing a Solr index on the fly using SolrJ

2014-08-01 Thread Shawn Heisey
On 8/1/2014 3:21 AM, Sören Schneider wrote: > I'm looking for a way to (programmatically) replace a Solr index > on-the-fly using SolrJ, just as mentioned in Solr CoreAdmin Wiki[1]. I > already managed to create a dump of the index on-the-fly. > > The intention is to use the dump transparently whil

Replacing a Solr index on the fly using SolrJ

2014-08-01 Thread Sören Schneider
Hi, I'm looking for a way to (programmatically) replace a Solr index on-the-fly using SolrJ, just as mentioned in Solr CoreAdmin Wiki[1]. I already managed to create a dump of the index on-the-fly. The intention is to use the dump transparently while rebuilding the "original" index to achiev