lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject Re: Problem using RAMDirectory as a buffer
Date Thu, 21 Jun 2007 23:38:41 GMT
On Friday 22 June 2007 09:34:44 Tanya Levshina wrote:
>          ramWriter.addDocument(doc);
>
>          fsWriter.addIndexes(new Directory[] {ramDir,});

As IndexWriter already does this internally, I'm not exactly sure why you're 
trying to implement it again on the outside.

Daniel

-- 
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://nuix.com/                               Fax: +61 2 9212 6902

---------------------------------------------------------------------
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