org.apache.solr.core
Class MockDirectoryFactory

java.lang.Object
  extended by org.apache.solr.core.DirectoryFactory
      extended by 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)


Constructor Summary
MockDirectoryFactory()
           
 
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
 

Constructor Detail

MockDirectoryFactory

public MockDirectoryFactory()
Method Detail

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.