org.apache.solr.core
Class RAMDirectoryFactory

java.lang.Object
  extended by org.apache.solr.core.DirectoryFactory
      extended by org.apache.solr.core.StandardDirectoryFactory
          extended by org.apache.solr.core.RAMDirectoryFactory
All Implemented Interfaces:
NamedListInitializedPlugin

public class RAMDirectoryFactory
extends StandardDirectoryFactory

Directory provider for using lucene RAMDirectory


Constructor Summary
RAMDirectoryFactory()
           
 
Method Summary
 boolean exists(String path)
           
 Directory open(String path)
          Opens a Lucene directory
 
Methods inherited from class org.apache.solr.core.DirectoryFactory
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAMDirectoryFactory

public RAMDirectoryFactory()
Method Detail

open

public 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