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
Fields Modifier and Type Field Description static FSDirectoryFactory
DEFAULT
Default implementation that lets Lucene choose FSDirectory implementation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.lucene.store.FSDirectory
open(java.io.File indexDir)
-
-
-
Field Detail
-
DEFAULT
static final FSDirectoryFactory DEFAULT
Default implementation that lets Lucene choose FSDirectory implementation.
-
-