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 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 
core.properties file.

root@bigindy5:/index/solr6/data/data/inc_1/index# ls -1
_64na.fdt
_64na.fdx
_64na.fnm
_64na_Lucene50_0.doc
_64na_Lucene50_0.pos
_64na_Lucene50_0.tim
_64na_Lucene50_0.tip
_64na_Lucene54_0.dvd
_64na_Lucene54_0.dvm
_64na.nvd
_64na.nvm
_64na.si
_64na.tvd
_64na.tvx
_64nb.fdt
_64nb.fdx
_64nb.fnm
_64nb_Lucene50_0.doc
_64nb_Lucene50_0.pos
_64nb_Lucene50_0.tim
_64nb_Lucene50_0.tip
_64nb_Lucene54_0.dvd
_64nb_Lucene54_0.dvm
_64nb.nvd
_64nb.nvm
_64nb.si
_64nb.tvd
_64nb.tvx
_64nc.fdt
_64nc.fdx
_64nc.fnm
_64nc_Lucene50_0.doc
_64nc_Lucene50_0.pos
_64nc_Lucene50_0.tim
_64nc_Lucene50_0.tip
_64nc_Lucene54_0.dvd
_64nc_Lucene54_0.dvm
_64nc.nvd
_64nc.nvm
_64nc.si
_64nc.tvd
_64nc.tvx
_64nd.fdt
_64nd.fdx
_64nd.fnm
_64nd_Lucene50_0.doc
_64nd_Lucene50_0.pos
_64nd_Lucene50_0.tim
_64nd_Lucene50_0.tip
_64nd_Lucene54_0.dvd
_64nd_Lucene54_0.dvm
_64nd.nvd
_64nd.nvm
_64nd.si
_64nd.tvd
_64nd.tvx
_64ne.fdt
_64ne.fdx
_64ne.fnm
_64ne_Lucene50_0.doc
_64ne_Lucene50_0.pos
_64ne_Lucene50_0.tim
_64ne_Lucene50_0.tip
_64ne_Lucene54_0.dvd
_64ne_Lucene54_0.dvm
_64ne.nvd
_64ne.nvm
_64ne.si
_64ne.tvd
_64ne.tvx
_64nf.fdt
_64nf.fdx
_64nf.fnm
_64nf_Lucene50_0.doc
_64nf_Lucene50_0.pos
_64nf_Lucene50_0.tim
_64nf_Lucene50_0.tip
_64nf_Lucene54_0.dvd
_64nf_Lucene54_0.dvm
_64nf.nvd
_64nf.nvm
_64nf.si
_64nf.tvd
_64nf.tvx
_64ng.fdt
_64ng.fdx
_64ng.fnm
_64ng_Lucene50_0.doc
_64ng_Lucene50_0.pos
_64ng_Lucene50_0.tim
_64ng_Lucene50_0.tip
_64ng_Lucene54_0.dvd
_64ng_Lucene54_0.dvm
_64ng.nvd
_64ng.nvm
_64ng.si
_64ng.tvd
_64ng.tvx
_64nh.fdt
_64nh.fdx
_64nh.fnm
_64nh_Lucene50_0.doc
_64nh_Lucene50_0.pos
_64nh_Lucene50_0.tim
_64nh_Lucene50_0.tip
_64nh_Lucene54_0.dvd
_64nh_Lucene54_0.dvm
_64nh.nvd
_64nh.nvm
_64nh.si
_64nh.tvd
_64nh.tvx
_64ni.fdt
_64ni.fdx
_64ni.fnm
_64ni_Lucene50_0.doc
_64ni_Lucene50_0.pos
_64ni_Lucene50_0.tim
_64ni_Lucene50_0.tip
_64ni_Lucene54_0.dvd
_64ni_Lucene54_0.dvm
_64ni.nvd
_64ni.nvm
_64ni.si
_64ni.tvd
_64ni.tvx
_64nj.fdt
_64nj.fdx
_64nj.fnm
_64nj_Lucene50_0.doc
_64nj_Lucene50_0.pos
_64nj_Lucene50_0.tim
_64nj_Lucene50_0.tip
_64nj_Lucene54_0.dvd
_64nj_Lucene54_0.dvm
_64nj.nvd
_64nj.nvm
_64nj.si
_64nj.tvd
_64nj.tvx
_64nk.fdt
_64nk.fdx
_64nk.fnm
_64nk_Lucene50_0.doc
_64nk_Lucene50_0.pos
_64nk_Lucene50_0.tim
_64nk_Lucene50_0.tip
_64nk_Lucene54_0.dvd
_64nk_Lucene54_0.dvm
_64nk.nvd
_64nk.nvm
_64nk.si
_64nk.tvd
_64nk.tvx
_64nl.fdt
_64nl.fdx
_64nl.fnm
_64nl_Lucene50_0.doc
_64nl_Lucene50_0.pos
_64nl_Lucene50_0.tim
_64nl_Lucene50_0.tip
_64nl_Lucene54_0.dvd
_64nl_Lucene54_0.dvm
_64nl.nvd
_64nl.nvm
_64nl.si
_64nl.tvd
_64nl.tvx
_64nm.fdt
_64nm.fdx
_64nm.fnm
_64nm_Lucene50_0.doc
_64nm_Lucene50_0.pos
_64nm_Lucene50_0.tim
_64nm_Lucene50_0.tip
_64nm_Lucene54_0.dvd
_64nm_Lucene54_0.dvm
_64nm.nvd
_64nm.nvm
_64nm.si
_64nm.tvd
_64nm.tvx
_64nn.fdt
_64nn.fdx
_64nn.fnm
_64nn_Lucene50_0.doc
_64nn_Lucene50_0.pos
_64nn_Lucene50_0.tim
_64nn_Lucene50_0.tip
_64nn_Lucene54_0.dvd
_64nn_Lucene54_0.dvm
_64nn.nvd
_64nn.nvm
_64nn.si
_64nn.tvd
_64nn.tvx
_64no.fdt
_64no.fdx
_64no.fnm
_64no_Lucene50_0.doc
_64no_Lucene50_0.pos
_64no_Lucene50_0.tim
_64no_Lucene50_0.tip
_64no_Lucene54_0.dvd
_64no_Lucene54_0.dvm
_64no.nvd
_64no.nvm
_64no.si
_64no.tvd
_64no.tvx
segments_21xp
write.lock


Thanks,
Shawn


Mime
View raw message