lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Renewing IndexSearcher on index change.
Date Tue, 04 Oct 2005 17:33:54 GMT

: 		// feebly try to prevent concurrent reentry problems
: 		IndexWriter w = writer;
: 		w = null;
:                 try {
:                     w.close();

Just to clarify for the folks at home, I'm pretty sure you ment...

                IndexWriter w = writer;
                writer = null;
                  try {
                      w.close();

...correct?

-Hoss


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