On 11/5/2012 9:19 AM, Carrie Coy wrote:
I checked out luke-src-4.0.0-ALPHA.tgz, the most recent I could find,
and compiled, but I still get the error "Format version not supported
(resource
MMapIndexInput(path="/var/lib/tomcat6/solr/apache-solr-4.0.0-/core1/data/index/_7.tvx")):
1 needs to be between 0 and 0"
Can anyone post a luke.jar capable of reading 4.0 indexes?
Just for giggles, I downloaded the src for the latest luke, pulled it
into eclipse, replaced all the 4.0.0-ALPHA jars with 4.0 release jars,
then attempted to fix the resulting code problems. By comparing javadocs
for 4.0.0-ALPHA, 4.0.0-BETA, and 4.0.0, I was able to get rid all the
error flags.
No idea whether I did it right, or even whether it works. All my
indexes are either 3.5 or 4.1-SNAPSHOT, so I can't actually test it.
You can get to the resulting jar and my patch against the
luke-4.0.0-ALPHA source:
https://dl.dropbox.com/u/97770508/luke-4.0.0-unofficial.patch
https://dl.dropbox.com/u/97770508/lukeall-4.0.0-unofficial.jar
If you have an immediate need for 4.0.0 support in Luke, please try it
out and let me know whether it works. If it doesn't work, or when the
official luke 4.0.0 is released, I will remove those files from my dropbox.
Thanks,
Shawn