Agreed!  I misunderstood what I remembered.  I applied it too broadly.  I'm 
happily using Lucene.NET, and have not had any problems with cleanup, though I 
am using a more explicit pattern.  I also log a lot of details and other stuff 
while I'm also closing the Lucene index.  I have, after all, built upon Lucene.

Sorry for the confusion.

Brian Sayatovic
Senior Software Architect

866-218-1003 toll-free ext. 8936
937-235-8936 office
4540 Honeywell Ct. Dayton, OH 45424


This message may contain confidential/proprietary information from the CINgroup 
or its subsidiaries.
If you are not an intended recipient, please refrain from the disclosure, 
copying, distribution or use of this information. All such unauthorized actions 
are strictly prohibited. If you have received this transmission in error, 
please notify the sender by e-mail and delete all copies of this material from 
any computer.


-----Original Message-----
From: Nicholas Paldino [.NET/C# MVP] [mailto:casper...@caspershouse.com]

...
Long story short, unless you have *very* specialized situations around cleanup 
which requires specialized logic on the client, IDisposable is not the case.
Everything I've seen in Lucene.NET *doesn't* fall in this category and is 
suitable for having IDisposable implementations.
...

Reply via email to