Hi, I am using lucene 2.1.0. I'll try to download 2.2 and test it. Thanks,
Tanya -----Original Message----- From: Michael Busch [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 7:25 PM To: java-user@lucene.apache.org Subject: Re: Problem using RAMDirectory as a buffer Tanya Levshina wrote: > Nope, doesn't work. > I've tried: > .... > ramWriter.addDocument(doc); > ramWriter.flush(); > ramWriter.close(); > fsWriter.addIndexes(new Directory[] {ramDir,}); > .... > > > Any other suggestions? > Are you sure? That's strange, I just took your code and tried it out myself. With my suggested change it works fine for me now. I'm using Lucene 2.2 for this test. --------------------------------------------------------------------- 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]