dnaber 2004/10/17 04:47:05
Modified:src/java/org/apache/lucene/store MMapDirectory.java
Log:
fix comments, no functional change
PR: 31748
Submitted by: Paul Elschot
Revision ChangesPath
1.4 +4 -5
jakarta-lucene/src/java/org/apache/lucene/store/MMapDirecto
cutting 2004/10/04 12:44:11
Modified:src/java/org/apache/lucene/store MMapDirectory.java
Log:
Improved version by Paul Elschot that can handle files longer than 2^31.
Revision ChangesPath
1.3 +128 -12
jakarta-lucene/src/java/org/apache/lucene/store/MMapDirectory.
Bruce Ritchie wrote:
[EMAIL PROTECTED] wrote:
One downside
is that it cannot handle indexes with files larger than 2^31 bytes.
Can you expand slightly on what causes this limitation and whether it still exists on 64 bit hardware?
This is a limit of the nio ByteBuffer API, which uses int instead of
[EMAIL PROTECTED] wrote:
> 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.
Can you expand slightly on what causes this limitation and whether it sti
[EMAIL PROTECTED] wrote:
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 w
cutting 2004/09/28 14:55:59
Modified:src/java/org/apache/lucene/store MMapDirectory.java
Log:
Fixed so that file is no longer kept open.
Revision ChangesPath
1.2 +13 -16
jakarta-lucene/src/java/org/apache/lucene/store/MMapDirectory.java
Index: MMapDirectory
cutting 2004/09/28 14:40:11
Added: src/java/org/apache/lucene/store MMapDirectory.java
Log:
Add an nio mmap based Directory implementation.
Revision ChangesPath
1.1
jakarta-lucene/src/java/org/apache/lucene/store/MMapDirectory.java
Index: MMapDire