lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Are Search Index directories backward comptabile? ( when upgrading to latest lucene version)
Date Wed, 23 Jan 2013 14:39:21 GMT
Lucene 4.x cannot read indexes created with 2.x.  You can change and
recompile your code to 4.x in one go.  Since you can reindex, I'd make
all the code changes and then recreate the indexes using 4.x.  With a
bit of testing along the way of course.


--
Ian.


On Wed, Jan 23, 2013 at 7:34 AM, saisantoshi <saisantoshi76@gmail.com> wrote:
> Also, I am not sure about the following below statement:
>
>>>A direct update from 2.x to 4.0 is not possible
>
> Are you saying that its impossible to upgrade from 2.4 - 4.0 version? Why
> can't we upgrade? Any technical limitations with Lucene that will not allow
> from upgrading from 2.4 - 4.x?.
>
> I am directly upgrading from 2.4 - 4.x but not sure about any problems with
> respect to compilation against 4.x apart from the API changes. I am fixing
> them but not sure about any other issues? As far as the indexing is
> considered, we are thinking of deleting all the existing indexes and
> recreating with the newer version (4.0).
>
> We don't want to take an extra hop ( 2.4 - 3.6.2 and 3.6.2 - 4.x) which
> would cause more work for us.
>
> Please let us know of any issues with the above approach.
>
> Thanks,
> Sai
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Are-Search-Index-directories-backward-comptabile-when-upgrading-to-latest-lucene-version-tp4035494p4035542.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message