lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Dyke <jeff.d...@gmail.com>
Subject Re: can you migrate solr index files from osx to linux
Date Thu, 01 Feb 2018 23:32:00 GMT
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.

On Thu, Feb 1, 2018 at 4:49 PM, Erick Erickson <erickerickson@gmail.com>
wrote:

> One note, be _very_ sure you copy in binary mode......
>
> On Thu, Feb 1, 2018 at 1:33 PM, Shawn Heisey <apache@elyograg.org> wrote:
> > On 2/1/2018 12:56 PM, Jeff Dyke wrote:
> >> That's exactly what i thought as well.  The only difference and i can
> try
> >> to downgrade OSX is 7.2, and i grabbed 7.2.1 for install on Ubuntu.  I
> >> didn't think a point minor point release would matter.
> >>
> >> solr@stagingsolr01:~/data/issuers/data$ ls -1
> >> 981552
> >> index
> >> _mg8.dii
> >> _mg8.dim
> >> _mg8.fdt
> >> _mg8.fdx
> >> _mg8.fnm
> >> _mg8_Lucene50_0.doc
> >> _mg8_Lucene50_0.pos
> >> _mg8_Lucene50_0.tim
> >> _mg8_Lucene50_0.tip
> >> _mg8_Lucene70_0.dvd
> >> _mg8_Lucene70_0.dvm
> >> _mg8.nvd
> >> _mg8.nvm
> >> _mg8.si
> >
> > It's almost a guarantee that the index format in 7.2.0 and 7.2.1 will be
> > identical.  I don't think I've ever heard of an instance where a point
> > release changed the index format.  It does change in minor releases
> > sometimes, though.  If the format were incompatible, there would be
> > errors in the log.
> >
> > Those filenames look correct ... but it looks to me like they are in
> > ${instanceDir}/data ... they would normally be found in the index
> > directory inside the data directory.
> >
> > Thanks,
> > Shawn
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message