You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Dragon Fly <dr...@hotmail.com> on 2011/05/13 15:16:28 UTC

[Lucene.Net] Upgrade from version 2.0 to 2.9 ...

I've been using Lucene.Net 2.0 for a few years and I'd like to upgrade to 2.9.  I have a couple of questions regarding the upgrade:

1. Is an index created with 2.0 fully compatible with 2.9? In other words, can I just upgrade to 2.9 and expect that search/indexing will continue to work?
2. What are some of the things that I should watch out for?

Thank you. 		 	   		  

Re: [Lucene.Net] Upgrade from version 2.0 to 2.9 ...

Posted by Troy Howard <th...@gmail.com>.
1. Yes. Specifically, index files are versioned. You will be able to
specify the compatibility level you would like to work with.

2. Look for APIs which are marked as deprecated (they will show up as
warnings when you compile). Consider updating code to the newer APIs.
Things marked as deprecated will be removed in future releases, and
generally do not perform as well, or are less flexible than the new
methods.

Your best bet is to drop in the new version of the DLL, and see how it
goes. It should 'just work'. If it doesn't, send a message to the list
with specific problems and we will be glad to help.

Thanks,
Troy


On 5/13/11, Dragon Fly <dr...@hotmail.com> wrote:
>
> I've been using Lucene.Net 2.0 for a few years and I'd like to upgrade to
> 2.9.  I have a couple of questions regarding the upgrade:
>
> 1. Is an index created with 2.0 fully compatible with 2.9? In other words,
> can I just upgrade to 2.9 and expect that search/indexing will continue to
> work?
> 2. What are some of the things that I should watch out for?
>
> Thank you.