Hello,

Question about batch updates (performing a delete and add in same
request, as described at bottom
of http://wiki.apache.org/solr/UpdateXmlMessages):
<http://wiki.apache.org/solr/UpdateXmlMessages%29:>  is the order
guaranteed?  If a <delete> is followed by an <add>, will the delete
always be performed first?  I would assume so but would like to get
confirmation.

(I realize that it is not normally necessary to explicitly delete a
document before updating with an <add>, but we have a need to do some
clean up of certain related documents.  The initial delete-by-query will
ensure that the subsequent <add> will cleanly update some possible old,
improper documents, but if the <delete> might ever be performed after
the <add>, it would end up removing the new document as well.)

Thanks!

Glenn

Reply via email to