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. >