public class MMapDirectoryFactory extends DirectoryFactory
FSDirectory.open(java.io.File)
Can set the following parameters:
MMapDirectory.setUseUnmap(boolean)MMapDirectory.setMaxChunkSize(int)| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
log |
private int |
maxChunk |
(package private) boolean |
unmapHack |
| Constructor and Description |
|---|
MMapDirectoryFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(NamedList args) |
org.apache.lucene.store.Directory |
open(java.lang.String path)
Opens a Lucene directory
|
existsprivate static transient org.slf4j.Logger log
boolean unmapHack
private int maxChunk
public org.apache.lucene.store.Directory open(java.lang.String path)
throws java.io.IOException
DirectoryFactoryopen in class DirectoryFactoryjava.io.IOExceptionpublic void init(NamedList args)
init in interface NamedListInitializedPlugininit in class DirectoryFactory