On 11-Aug-08, at 10:48 PM, Norberto Meijome wrote:

Hello :)

I *think* i know the answer, but i'd like to confirm :

Say I have
<doc><id>1<id/><name>old</name></doc>

already indexed and commited (ie, 'live' )

What happens if I issue:

<delete><id>1</id></delete>
<add><doc><id>1</id><name>new</name></doc>
<commit/>

will delete happen first, and then the add, or could it be that the add happens before delete, in which case i end up with no more doc id=1 ?

As long as you are sending these requests on the same thread, they will occur in order.

-Mike

Reply via email to