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