Thanks!
On Wed, 21 May 2025 at 23:35, Adrien Grand wrote:
> Hello Ashwini,
>
> MMapDirectory will often perform a bit faster. While NIOFSDirectory needs
> to first copy data from the buffer cache to heap arrays, MMapDirectory can
> read directly into the buffer cache.
>
> Lucene's benchmark suit
Hello Ashwini,
MMapDirectory will often perform a bit faster. While NIOFSDirectory needs
to first copy data from the buffer cache to heap arrays, MMapDirectory can
read directly into the buffer cache.
Lucene's benchmark suite allows comparing these two directories. I haven't
done so recently, but
As per Lucene documentation there is not much difference between these 2
implementations and users should use the Open() method and Lucene choses
the best implementation based on the system.
https://lucene.apache.org/core/9_7_0/core/org/apache/lucene/store/FSDirectory.html
Is there any perf impa