org.nuiton.wikitty.storage.solr
Class RAMDirectoryFactory
java.lang.Object
org.apache.solr.core.DirectoryFactory
org.apache.solr.core.StandardDirectoryFactory
org.nuiton.wikitty.storage.solr.RAMDirectoryFactory
- All Implemented Interfaces:
- org.apache.solr.util.plugin.NamedListInitializedPlugin
public class RAMDirectoryFactory
- extends org.apache.solr.core.StandardDirectoryFactory
Directory provider for using lucene RAMDirectory
Only exists in version 4.0 of solr, but we used 1.4.1. Remove this class
when solr 4.0 will be used
| 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 |
RAMDirectoryFactory
public RAMDirectoryFactory()
open
public org.apache.lucene.store.Directory open(String path)
throws IOException
- Overrides:
open in class org.apache.solr.core.StandardDirectoryFactory
- Throws:
IOException
exists
public boolean exists(String path)
Copyright © 2009-2011 CodeLutin. All Rights Reserved.