org.apache.solr.core
Class MockDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.MockDirectoryFactory
- All Implemented Interfaces:
- org.apache.solr.util.plugin.NamedListInitializedPlugin
public class MockDirectoryFactory
- extends org.apache.solr.core.DirectoryFactory
Opens a directory with LuceneTestCase.newFSDirectory(File)
Method Summary |
org.apache.lucene.store.Directory |
open(String path)
|
Methods inherited from class org.apache.solr.core.DirectoryFactory |
exists, init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockDirectoryFactory
public MockDirectoryFactory()
open
public org.apache.lucene.store.Directory open(String path)
throws IOException
- Specified by:
open
in class org.apache.solr.core.DirectoryFactory
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.