org.apache.lucene.store

Class MMapDirectory

public class MMapDirectory extends FSDirectory

File-based {@link Directory} implementation that uses mmap for input.

To use this, invoke Java with the System property org.apache.lucene.FSDirectory.class set to org.apache.lucene.store.MMapDirectory. This will cause {@link FSDirectory#getDirectory(File,boolean)} to return instances of this class.

Method Summary
IndexInputopenInput(String name)

Method Detail

openInput

public IndexInput openInput(String name)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.