I'm sorry, there was a bug in my test case which caused deleted documents to be shown as live documents.

Am 06.05.2013 13:36, schrieb Michael McCandless:
On Mon, May 6, 2013 at 7:32 AM, Daniel Penning <dpenn...@gamona.de> wrote:

If a Document is updated multiple times in one transaction it may end up
with old versions not getting deleted, depending on when the IndexWriter got
flushed.
Hmm that should not be the case.

If you use updateDocument, and the Term you pass to it matches the
previous document(s) you had added, then you should at any time only
ever see the one [latest version] of the document visible in a
near-real-time reader.

Do you have a test case showing the issue...?

Mike McCandless

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





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