Hi, Background: My company has built an Android application that utilizes Lucene 4.7.0 to index and search upon a fairly static set of about 100,000 documents. We have used numerous versions of Lucene over the years, and they have all worked well to accomplish this purpose.
Issue: Upon upgrading to Lucene 4.10.0, the application’s functionality broke. As it turns out, an exception named “java.nio.file.NoSuchFileException” is now utilized within the DirectoryReader class. This exception class is not available within the Android runtime, and the Dalvik VM crashes with an “unable to resolve exception” error every time a DirectoryReader tries to open. Possible Solutions: This problem could be remedied by replacing the usage of “java.nio.file.NoSuchFileException” with “java.io.FileNotFoundException” or simply an IOException. The suspect code exists in the “listCommits” method of “DirectoryReader.” try { sis.read(dir, fileName); } catch (NoSuchFileException | FileNotFoundException var10) { sis = null; } Is this something you would consider changing to make it compatible with android? Thanks in Advance, David