lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <karl.wet...@gmail.com>
Subject Re: Strange Error while deleting Documents from index while indexing.
Date Fri, 27 Jul 2007 08:57:45 GMT

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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message