Package | Description |
---|---|
org.apache.solr.core | |
org.apache.solr.update |
Modifier and Type | Class and Description |
---|---|
class |
MMapDirectoryFactory
Directly provide MMapDirectory instead of relying on
FSDirectory.open(java.io.File)
Can set the following parameters:
unmap -- See MMapDirectory.setUseUnmap(boolean)
maxChunkSize -- The Max chunk size. |
class |
NIOFSDirectoryFactory
Factory to instantiate
NIOFSDirectory |
class |
RAMDirectoryFactory
Directory provider for using lucene RAMDirectory
|
class |
SimpleFSDirectoryFactory
Factory to instantiate
SimpleFSDirectory |
class |
StandardDirectoryFactory
Directory provider which mimics original Solr FSDirectory based behavior.
|
Modifier and Type | Method and Description |
---|---|
DirectoryFactory |
SolrCore.getDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.store.Directory |
SolrIndexWriter.getDirectory(String path,
DirectoryFactory directoryFactory,
SolrIndexConfig config) |
Constructor and Description |
---|
SolrIndexWriter(String name,
String path,
DirectoryFactory dirFactory,
boolean create,
IndexSchema schema,
SolrIndexConfig config,
org.apache.lucene.index.IndexDeletionPolicy delPolicy) |