org.apache.solr.core
Class MMapDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.MMapDirectoryFactory
- All Implemented Interfaces:
- NamedListInitializedPlugin
public class MMapDirectoryFactory
- extends DirectoryFactory
Directly provide MMapDirectory instead of relying on FSDirectory.open(java.io.File)
Can set the following parameters:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MMapDirectoryFactory
public MMapDirectoryFactory()
open
public Directory open(String path)
throws IOException
- Description copied from class:
DirectoryFactory
- Opens a Lucene directory
- Specified by:
open
in class DirectoryFactory
- Throws:
IOException
init
public void init(NamedList args)
- Specified by:
init
in interface NamedListInitializedPlugin
- Overrides:
init
in class DirectoryFactory