Class DirectoryUtil


  • public class DirectoryUtil
    extends Object
    Since:
    8.0
    • Constructor Detail

      • DirectoryUtil

        public DirectoryUtil()
    • Method Detail

      • getDirectory

        public static org.apache.lucene.store.Directory getDirectory​(File path)
        get a Directory from a path and don't throw a whingy bloody IOException. Upgrade the index version if incompatible with the current version.