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: [email protected] > -----Original Message----- > From: Michael McCandless [mailto:[email protected]] > Sent: Thursday, June 11, 2009 11:25 AM > To: [email protected] > 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<[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
