RE: MMap certain files, leave the rest to the regular dir

2009-06-11 Thread Uwe Schindler
> 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 wrot

Re: MMap certain files, leave the rest to the regular dir

2009-06-11 Thread Michael McCandless
Could we use FileSwitchDirectory to achieve that? Mike On Thu, Jun 11, 2009 at 1:12 AM, Jason Rutherglen 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

MMap certain files, leave the rest to the regular dir

2009-06-10 Thread Jason Rutherglen
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 LUCE