27 jul 2007 kl. 10.50 skrev miztaken:
My application simply shut downs.
After that when i try to open the same index using IndexReader and
fetch the
document then it says "trying to access deleted document". After
getting
such error, i opened the indexWriter, optimized and then closed it.
Then again i tried to get the documents using indexreader and its
working
all fine.
What can be the problem.
Well the pseudo code will be like:
Can you please supply an isolated and working test case that
demonstrate your problem?
Can you use IndexWriter#deleteDocument instead?
--
karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]