lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanya Levshina" <ta...@volvovski.com>
Subject RE: Problem using RAMDirectory as a buffer
Date Fri, 22 Jun 2007 01:37:54 GMT
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:buschmic@gmail.com] 
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message