org.apache.solr.core
Class RAMDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.StandardDirectoryFactory
org.apache.solr.core.RAMDirectoryFactory
- All Implemented Interfaces:
- NamedListInitializedPlugin
public class RAMDirectoryFactory
- extends StandardDirectoryFactory
Directory provider for using lucene RAMDirectory
Method Summary |
boolean |
exists(String path)
|
org.apache.lucene.store.Directory |
open(String path)
Opens a Lucene directory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAMDirectoryFactory
public RAMDirectoryFactory()
open
public org.apache.lucene.store.Directory open(String path)
throws IOException
- Description copied from class:
DirectoryFactory
- Opens a Lucene directory
- Overrides:
open
in class StandardDirectoryFactory
- Throws:
IOException
exists
public boolean exists(String path)
- Overrides:
exists
in class DirectoryFactory
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.