lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <apa...@elyograg.org>
Subject Re: can you migrate solr index files from osx to linux
Date Fri, 02 Feb 2018 00:34:54 GMT
On 2/1/2018 4:32 PM, Jeff Dyke wrote:
> I just created a tar file, actually a tar.gz file and scp'd to a server, at
> first i was worried that the gzip caused issues, but as i mentioned no
> errors on start up, and i thought i would see some.  @Erick, how would you
> recommend.  This is going to be less of an issue b/c i need to build the
> index programmatically anyway, but would be nice to know if only for
> curiosity.  Perhaps making a replication backup and then restoring on the
> new server would be better.  In the middle of other things now, will try a
> few of those, plus some other ideas.

I think the problem is that you're copying the index files into
${instanceDir}/data and not ${instanceDir}/data/index.  The index
directory is what Solr is actually going to use.

Delete everything that already exists in the index directory before
putting the files in there.

You probably don't need to do a full restart, you could probably just
reload the core.

Thanks,
Shawn

Mime
View raw message