Re: Can you create a RAM index from a file index

2009-03-24 Thread Anshum
: "Otis Gospodnetic" < > otis_gospodne...@yahoo.com> > To: > Sent: Wednesday, March 25, 2009 9:12 AM > > Subject: Re: Can you create a RAM index from a file index > > > >> That's indeed an alternative. Moreover, I have heard (not >> measured/

Re: Can you create a RAM index from a file index

2009-03-24 Thread Ganesh
- Original Message - From: "Otis Gospodnetic" To: Sent: Wednesday, March 25, 2009 9:12 AM Subject: Re: Can you create a RAM index from a file index That's indeed an alternative. Moreover, I have heard (not measured/comparered myself) from people who tried both MM and tmpfs

Re: Can you create a RAM index from a file index

2009-03-24 Thread Otis Gospodnetic
um > To: java-user@lucene.apache.org; paul_t...@fastmail.fm > Sent: Tuesday, March 24, 2009 6:42:58 AM > Subject: Re: Can you create a RAM index from a file index > > Hi Paul, > > Going by what you've conveyed here, I'd assume that you have more than some > data. You

Re: Can you create a RAM index from a file index

2009-03-24 Thread Anshum
Hi Paul, Going by what you've conveyed here, I'd assume that you have more than some data. You could either go ahead with Ian's way which is the suggested one(as far as lucene implementation is concerned) but It'd not be possible if you're index is greater than 2 Gigs and you are not running the 6

Re: Can you create a RAM index from a file index

2009-03-24 Thread Paul Taylor
Ian Lea wrote: Hi You can load an existing index into a RAMDirectory using one of the constructors that takes an existing index. I believe that a RAM index will be the same size as a file based index. Of course I was looking at IndexSearcher but the constructor is for RAMDirectory MMapDir

Re: Can you create a RAM index from a file index

2009-03-24 Thread Ian Lea
Hi You can load an existing index into a RAMDirectory using one of the constructors that takes an existing index. I believe that a RAM index will be the same size as a file based index. MMapDirectory is another possibility. -- Ian. On Tue, Mar 24, 2009 at 8:42 AM, Paul Taylor wrote: > Hi