Re: MMapDirectory or FSDirectory

2015-02-05 Thread sreedevi s
Hi, Thank you for sharing the blog.I am using FSDirectory.open() in my program.So, I guess I am using MMapDirectory. It takes about 3 minutes when I search for a key(which is actually present in 80% of total data) in all the fields(1000) in this 1 million documents. Best Regards, Sreedevi S On Th

RE: MMapDirectory or FSDirectory

2015-02-05 Thread Uwe Schindler
Hi, If you use FSDirectory.open() it will automatically choose MMapDirectory on 64 bit systems. Please note, virtual memory is != physical RAM. A 64 bit machine has *always* >1 Terabyte of virtual address space available, this is unrelated to physical memory (a common misunderstanding about mma