Added: src/java/org/apache/lucene/store MMapDirectory.java Log: Add an nio mmap based Directory implementation.
For my simple benchmarks this is somewhat slower than the classic FSDirectory, but I thought it was still worth having. It should use less memory when there are lots of query terms, since it does not need to allocate a new buffer per term and the mmapped data can be shared. This may be good for folks who, e.g., use lots of wildcards. It also should, in theory, someday be faster. One downside is that it cannot handle indexes with files larger than 2^31 bytes.
Doug
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]