开发者

Is lucene index created with 2.3.1 compatible with Lucene 3.0.3

开发者 https://www.devze.com 2023-02-10 12:21 出处:网络
We have indexed our开发者_C百科 documents with Lucene 2.3.1 and now want to move to Lucene 3.0.3 for better features. I want to know whether the index will work as is and will I be able to add more do

We have indexed our开发者_C百科 documents with Lucene 2.3.1 and now want to move to Lucene 3.0.3 for better features. I want to know whether the index will work as is and will I be able to add more documents, with 3.0.3, to the existing index without any hassles or do I have to re-index the whole thing.

Thanks a lot in advance.


I am quite sure that the indexes will be incompatible with Lucene 3 if they were built under Lucene 2 (in fact I'm 99% positive of this).

However, you may be able to convert them rather than rebuild them. Have a look here for some high-level guidance in this area.

0

精彩评论

暂无评论...
验证码 换一张
取 消