Hi Koji,

Thanks for the suggestion. It worked when I closed the reader before refreshing the IndexSearcher instance.

Harini

Koji Sekiguchi wrote:

Hi Harini,

I meant you close the reader first, then get a new searcher.

regards,

Koji

-----Original Message-----
From: Harini Raghavan [mailto:[EMAIL PROTECTED]
Sent: Monday, January 09, 2006 1:16 PM
To: java-user@lucene.apache.org
Subject: Re: Deleting a Document


Hi Koji,
I am closing the reader after deleting. You can see the close being called in the finally block in the code.
-Harini




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