lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: can you migrate solr index files from osx to linux
Date Thu, 01 Feb 2018 18:37:54 GMT
On 2/1/2018 11:14 AM, Jeff Dyke wrote:
> I've been developing locally on OSX and am now going through the process of
> automating the installation on AWS Ubuntu.  I have created a core, added my
> fields and then untarred the data directory on my Ubuntu instance,
> restarted solr (to hopefully reindex), but no documents are seen.
> Nor are any errors thrown in the logs or at startup.
> Given the case sensitivity differences between OSX and Linux, could that be
> a problem?  Are there further steps required, or is just not possible.
> Granted i'm going to programmatically rebuild the index, but wanted to
> start here.

The Lucene index format is not determined by the operating system or the 
hardware architecture at all.  Some of the index filenames include one 
uppercase letter in recent versions.  You should be able to copy the 
index directory from any OS to any other OS and have it work, as long as 
the source/destination Solr versions are compatible and the filenames 
are correct.

What version of Solr?  On the Linux side, what are the filenames you see 
in data/index?

Here's a directory listing from one of mine, running Solr 6.6.2. The 
directory layout is nonstandard because I have customized dataDir in the file.

root@bigindy5:/index/solr6/data/data/inc_1/index# ls -1


View raw message