healthonnet / hash-based-index-splitter

Command-line utility to split a Lucene index into multiple shards using the document's ID hash.
2 stars 4 forks source link

Lucene 4? #1

Open ziqizhang opened 11 years ago

ziqizhang commented 11 years ago

Well not exactly an "issue" here but couldnt find other ways of contact.

I think this is a very good tool given that there are no official tools for doing this. I want to use this to split an index built with lucene 4.1, but as you know, the two versions (3.6 you are using and 4.1) clashes and its not just simply mapping deprecated classes/methods... lots of changes in lucene 4.1.

I wonder if you have a new version of this tool for lucene 4.1?

Many thanks

nolanlawson commented 11 years ago

Hi there,

To my knowledge, Lucene 3.6 indexes are still supported in 4.1. I haven't tested it, but since this tool pulls in all its own JARs (they're bundled into the JAR I provide), it ought to just work. Try it out and let me know if you run into any problems.

Cheers, Nolan

ziqizhang commented 11 years ago

Hi

Thanks for your reply. Unfortunately it is not so. Lucene 4.1 has many major updates and the index created by Lucene 3.x will not be compatible with Lucene 4.x. I have tested and it failed. The exception I have suggest version conflicts. I'd be really looking forward to see your next release.

thanks

On 04/03/2013 10:53, Nolan Lawson wrote:

Hi there,

To my knowledge, Lucene 3.6 indexes are still supported in 4.1. I haven't tested it, but since this tool pulls in all its own JARs (they're bundled into the JAR I provide), it ought to just work. Try it out and let me know if you run into any problems.

Cheers, Nolan

— Reply to this email directly or view it on GitHub https://github.com/healthonnet/hash-based-index-splitter/issues/1#issuecomment-14374931.

Ziqi Zhang