You could also try using a ram disk, mkdir /var/ramdisk mount -t tmpfs none /var/ramdisk -o size=xxxxm
Obviously, if you lose power you will lose everything.. On Mon, Feb 28, 2011 at 11:37 AM, Lance Norskog <goks...@gmail.com> wrote: > This sounds like a great idea but rarely works out. Garbage collection > has to work around the data stored in memory, and most of the data you > want to hit frequently is in the indexed and cached. The operating > system is very smart about keeping the popular parts of the index in > memory, and there is no garbage collection there. > > I do not know if the RAMDirectoryFactory in current development has > disk-backed persistence. > > On Thu, Feb 24, 2011 at 7:26 AM, Bill Bell <billnb...@gmail.com> wrote: >> How to use this? >> >> Bill Bell >> Sent from mobile >> >> >> On Feb 24, 2011, at 7:19 AM, Koji Sekiguchi <k...@r.email.ne.jp> wrote: >> >>> (11/02/24 21:38), Andrés Ospina wrote: >>>> >>>> Hi, >>>> >>>> My name is Felipe and i want to use the index main of solr in RAM memory. >>>> >>>> How it's possible? I have solr 1.4 >>>> >>>> Thank you! >>>> >>>> Felipe >>> >>> Welcome Felipe! >>> >>> If I understand your question correctly, you can use RAMDirectoryFactory: >>> >>> https://hudson.apache.org/hudson/job/Solr-3.x/javadoc/org/apache/solr/core/RAMDirectoryFactory.html >>> >>> But I believe it is available 3.1 (to be released soon...). >>> >>> Koji >>> -- >>> http://www.rondhuit.com/en/ >> > > > > -- > Lance Norskog > goks...@gmail.com >