On Tue, Aug 23, 2011 at 3:38 PM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Tue, Aug 23, 2011 at 2:17 PM, Glenn <s...@t2.zazu.com> wrote: >> 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. > > Yes, if you're crafting the update message yourself in XML or JSON. > SolrJ is a different matter I think.
Found the SolrJ issue: https://issues.apache.org/jira/browse/SOLR-1162 Looks like it sort of got dropped, but I think this is worth fixing. -Yonik http://www.lucidimagination.com