lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Li" <>
Subject Re: [jira] Commented: (LUCENE-808) bufferDeleteTerm in IndexWriter might flush prematurely
Date Thu, 22 Feb 2007 02:15:53 GMT
On 2/21/07, Doron Cohen (JIRA) <> wrote:
> Imagine the application and Lucene could talk, with the current
> implementation we could hear something like this: ...

However, there could be multiple threads updating the same index. For
example, thread 1 deletes the term "id:5" twice, thread 2 inserts a
document with "id:10". The following two are among the possible
execution sequences:
Sequence 1:
  thread 1 deletes "id:5"
  thread 1 deletes "id:5"
  thread 2 inserts document "id:10"
Sequence 2:
  thread 1 deletes "id:5"
  thread 2 inserts document "id:10"
  thread 1 deletes "id:5".

They should return the same numBufferedDeleteTerms, not different ones.


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

View raw message