lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: next release
Date Tue, 05 Aug 2008 00:45:30 GMT

Cam Bazz wrote:

> I am still in trouble deleting documents.

OK but 2.3.3 isn't going to help you here -- it doesn't change  
anything about deletion of docs.

> Appearently - when an indexwriter and searcher is open at the same  
> directory
> - you can not delete documents with ids.

If you need to delete by doc id, this is true.  You must close your  
IndexWriter before attempting the delete from an IndexReader, and vice/ 
versa.

Can you delete by query instead?  That you can do from IndexWriter.

Mike



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