Package org.apache.maven.index.updater
Interface FSDirectoryFactory
public interface FSDirectoryFactory
FSDirectoryFactory allows host application choose specific FSDirectory implementation used during index update. This
is useful in some environments where default Lucene heuristics results in suboptimal choice of FSDirectory. For
example, MMapDirectory used by default on 64 bit Linux JDK results in heavy operating system swap with certain Linux
configuration and host application can choose NIOFSDirectory to avoid the problem.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FSDirectoryFactory
Default implementation that lets Lucene choose FSDirectory implementation. -
Method Summary
-
Field Details
-
DEFAULT
Default implementation that lets Lucene choose FSDirectory implementation.
-
-
Method Details
-
open
- Throws:
IOException
-