Class DirectoryUtil
java.lang.Object
com.atlassian.confluence.internal.search.v2.lucene.DirectoryUtil
- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.lucene.store.Directory
getDirectory
(File path) get a Directory from a path and don't throw a whingy bloody IOException.
-
Constructor Details
-
DirectoryUtil
public DirectoryUtil()
-
-
Method Details
-
getDirectory
get a Directory from a path and don't throw a whingy bloody IOException. Upgrade the index version if incompatible with the current version.
-