lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Penning <dpenn...@gamona.de>
Subject Re: updating/deleting uncomitted documents
Date Mon, 06 May 2013 12:55:15 GMT
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 <dpenning@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>


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