MMapDirectoryFactory (Solr 3.6.2 API)
Keywords: org.apache.solr.core.MMapDirectoryFactory class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.core
Class MMapDirectoryFactory

    java.lang.Object
      org.apache.solr.core.DirectoryFactory
          org.apache.solr.core.MMapDirectoryFactory

All Implemented Interfaces:
  NamedListInitializedPlugin

    public class MMapDirectoryFactory

extends DirectoryFactory

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. See `MMapDirectory.setMaxChunkSize(int)`

Constructor Summary
`MMapDirectoryFactory()`

Method Summary
`void` | `init(NamedList args)`
`Directory` | `open(String path)` Opens a Lucene directory

Methods inherited from class org.apache.solr.core.DirectoryFactory
`exists`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MMapDirectoryFactory

    public MMapDirectoryFactory()

Method Detail

### open

    public Directory open(String path)
                   throws IOException

  Description copied from class: `DirectoryFactory`
  Opens a Lucene directory

  Specified by:
    `open` in class `DirectoryFactory`
  Throws:
    `IOException`

### init

    public void init(NamedList args)

  Specified by:
    `init` in interface `NamedListInitializedPlugin`
  Overrides:
    `init` in class `DirectoryFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD