That's right -- the check was added in 2.2.

Mike

java_is_everything wrote:


Hi Mike.

Our project currently uses 2.0.0. So I suppose the later versions might not
be allowing this, right?

Ajay Garg



Michael McCandless-2 wrote:

Which version of Lucene are you using?  Recent versions do not allow
addDocument to be called after close.

Mike

java_is_everything <[EMAIL PROTECTED]> wrote:

Hi all.

IndexWriter.close() API states that ::

"Flushes all changes to an index and closes all associated files.".

What does "closes all associated files" mean, since we are apparently
able
to still addDocument() even after calling IndexWriter.close() ?


Looking forward to a reply.

Ajay garg
--
View this message in context:
http://www.nabble.com/Doubt-on-IndexWriter.close%28%29-tp18153935p18153935.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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




--
View this message in context: 
http://www.nabble.com/Doubt-on-IndexWriter.close%28%29-tp18153935p18188207.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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

Reply via email to