lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless" <luc...@mikemccandless.com>
Subject Re: Doubt on IndexWriter.close()
Date Fri, 27 Jun 2008 16:29:13 GMT
Which version of Lucene are you using?  Recent versions do not allow
addDocument to be called after close.

Mike

java_is_everything <ajaygargnsit@gmail.com> 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: 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