lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunnar Wurl <gunnar.w...@sql-gmbh.de>
Subject Deleting documents from index
Date Fri, 05 Dec 2008 13:42:17 GMT
Hi,

I am trying to delete documents from an index. When using the 
IndexReader#deleteDocuments(Term) method this works fine. But when using 
the IndexWriter#deleteDocuments(Term) it is not working, although I am 
using the same term. When using the IndexWriter I tried to commit and 
optimize but a reader opened on the index afterwards still finds the 
document. Is there something special when using the 
IndexWriter#deleteDocuments(Term) method what I have to care for?

Thanks in advance

Gunnar

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