lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: crash in Lucene
Date Fri, 07 Nov 2003 11:38:51 GMT

--- Erik Hatcher <erik@ehatchersolutions.com> wrote:
> On Thursday, November 6, 2003, at 02:44  PM, Chong, Herb wrote:
> > it's the line with the close(). so the remedy then is to make sure 
> 
> > that it is called only once. what is the recommended way to process
>  
> > two folders worth of documents then? do i need to create a new  
> > IndexWriter object for each folder i process?
> 
> I've lost track of the details of what you're doing, but if you're  
> indexing on two different threads, then that could be a problem:
> 
> 	http://www.mail-archive.com/lucene-user@jakarta.apache.org/ 
> msg00350.html
> 
> Is the FAQ at jGuru incorrect in this rega

Are you referring to:
  http://www.jguru.com/faq/view.jsp?EID=913302

I think the write/write is correct.  It is just important that the same
instance of IndexWriter is used.  That's written right below the
matrix.

Otis


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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


Mime
View raw message