This was my first idea, when I read the subject. The solution is FileSwitchDirectory.
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Michael McCandless [mailto:luc...@mikemccandless.com] > Sent: Thursday, June 11, 2009 11:25 AM > To: java-dev@lucene.apache.org > Subject: Re: MMap certain files, leave the rest to the regular dir > > Could we use FileSwitchDirectory to achieve that? > > Mike > > On Thu, Jun 11, 2009 at 1:12 AM, Jason > Rutherglen<jason.rutherg...@gmail.com> wrote: > > On the topic of MMaping files. Would a Directory implementation > > that transparently MMaps only certain files be interesting? It > > could MMap files that are accessed frequently (term dict, > > postings), as opposed to files such as docstores that are > > accessed less frequently. This could be built using LUCENE-1618 > > so maybe this idea is just a benchmark. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org