org.nuiton.wikitty.storage.solr
Class RAMDirectoryFactory

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


Nested Class Summary
static class RAMDirectoryFactory.RefCntRamDirectory
           
 
Constructor Summary
RAMDirectoryFactory()
           
 
Method Summary
 boolean exists(String path)
           
 org.apache.lucene.store.Directory open(String path)
           
 
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 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.