You do not want to store 30 G of data in the JVM heap, no matter what library does this.
On Wed, Jul 18, 2012 at 10:44 AM, Paul Jakubik <p...@purediscovery.com> wrote: > If only 30GB, go with RAM and MMAPDirectory (as long as you have the budget > for that hardware). > > My understanding is that RAMDirectory is intended for unit tests, not for > production indexes. > > On Wed, Jul 18, 2012 at 10:50 AM, Dragon Fly <dragon-fly...@hotmail.com>wrote: > >> >> Hi, >> >> If I want to improve performance, which of the following is better and why? >> >> 1. Buy a machine with a lot of RAM and use a RAMDirectory for the index. >> 2. Put the index on a solid state drive. >> >> By the way, my index is about 30 GB. Thank you. >> --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org