I think running the upgrade tool would also be necessary to set you up for
the next upgrade, when 9.0 comes along.

On Fri, Nov 20, 2020, 4:25 AM Uwe Schindler <u...@thetaphi.de> wrote:

> Hi,
>
> > Currently I am using Lucene 7.3, I want to upgrade to lucene 8.5.1.
> Should
> > I do reindexing in this case ?
>
> No, you don't need that.
>
> > Can I make use of backward codec jar without a reindex?
>
> Yes, just add the JAR file to your classpath and it can read the indexes.
> Updates written to the index will use the new codecs. To force a full
> upgrade (rewrite all segments), invoke the IndexUpgrader class either from
> your code or using the command line. But this is not needed, it just makes
> sure that you can get rid of the backwards-codecs jar.
>
> Uwe
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to