java.lang.Object
com.atlassian.confluence.internal.search.v2.lucene.DirectoryUtil

public class DirectoryUtil extends Object
Since:
8.0
  • Constructor Details

    • DirectoryUtil

      public DirectoryUtil()
  • Method Details

    • 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.