On Thu, Oct 27, 2011 at 11:39 AM, Michael McCandless <luc...@mikemccandless.com> wrote: > On Thu, Oct 27, 2011 at 11:07 AM, Andi Vajda <va...@apache.org> wrote: > >> It would be helpful if the >> error returned, "Unknown format version: -11", said where on disk it was >> found. The CorruptIndexException could do this, no ? > > I agree! It can at least reference the filename & Directory.toString. > I'll open a Lucene issue.
OK, here's the issue: https://issues.apache.org/jira/browse/LUCENE-3539 Mike McCandless http://blog.mikemccandless.com