|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.core.DirectoryFactory org.apache.solr.core.CachingDirectoryFactory org.apache.solr.core.StandardDirectoryFactory org.apache.solr.core.MockFSDirectoryFactory
public class MockFSDirectoryFactory
Opens a directory with LuceneTestCase.newFSDirectory(File)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.solr.core.CachingDirectoryFactory |
---|
org.apache.solr.core.CachingDirectoryFactory.CacheValue, org.apache.solr.core.CachingDirectoryFactory.CloseListener |
Nested classes/interfaces inherited from class org.apache.solr.core.DirectoryFactory |
---|
org.apache.solr.core.DirectoryFactory.DirContext |
Field Summary |
---|
Fields inherited from class org.apache.solr.core.CachingDirectoryFactory |
---|
byDirectoryCache, byPathCache, closeListeners, removeEntries |
Fields inherited from class org.apache.solr.core.DirectoryFactory |
---|
IOCONTEXT_NO_CACHE |
Constructor Summary | |
---|---|
MockFSDirectoryFactory()
|
Method Summary | |
---|---|
org.apache.lucene.store.Directory |
create(String path,
org.apache.solr.core.DirectoryFactory.DirContext dirContext)
|
boolean |
isAbsolute(String path)
|
Methods inherited from class org.apache.solr.core.StandardDirectoryFactory |
---|
exists, isPersistent, move, normalize, removeDirectory |
Methods inherited from class org.apache.solr.core.CachingDirectoryFactory |
---|
addCloseListener, close, doneWithDirectory, get, getLivePaths, incRef, init, release, remove, remove, remove, remove, stripTrailingSlash |
Methods inherited from class org.apache.solr.core.DirectoryFactory |
---|
empty, getDataHome, searchersReserveCommitPoints, sizeOf, sizeOfDirectory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockFSDirectoryFactory()
Method Detail |
---|
public org.apache.lucene.store.Directory create(String path, org.apache.solr.core.DirectoryFactory.DirContext dirContext) throws IOException
create
in class org.apache.solr.core.StandardDirectoryFactory
IOException
public boolean isAbsolute(String path)
isAbsolute
in class org.apache.solr.core.StandardDirectoryFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |