sorry, user error... please discard the question ;-)

2013/1/30 Bernd Müller <belu...@googlemail.com>:
> Hello,
>
> In my index, I have documents identified by a field with their unique
> identifier. Now, I tried to delete documents having such a unique
> identifier using deleteDocuments(Term t). If I test the IndexWriter
> for deletions with hasDeletions(), it tells me true. Even if I commit
> and close the index, open, delete, and close again, it still
> hasDeletions() being true.
>
> In previous lucene versions, there was something like expungeDeletes()
> to actually delete the documents that I deleted.
>
> How can I delete a document with my IndexWriter in a way that it is
> really deleted and not just flagged as deleted?
>
> Regards,
>   Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to