On 2/21/07, Doron Cohen (JIRA) <[EMAIL PROTECTED]> 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.

Ning

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to