I think this is a bug.
I looked at the classes SnapShooter, and it's constructor looks like this:
public SnapShooter(SolrCore core) {
solrCore = core;
}
This leaves the variable snapDir to be null, and the variable is never
initialized elsewhere, and later in the function SnapShooter.createSn
Actually, I found the snapshot in the directory where solr was lauched. Is
this done on purpose? shouldn't it be in the data directory?
Thanks,
Jianhan
On Mon, Apr 27, 2009 at 11:43 AM, Jian Han Guo wrote:
> Hi,
>
> According to Solr's wiki page http://wiki.apache.org/solr/SolrReplication,
>