Is lucene index created with 2.3.1 compatible with Lucene 3.0.3
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.
精彩评论