lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunnar Wurl <>
Subject Deleting documents from index
Date Fri, 05 Dec 2008 13:42:17 GMT

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message