On May 24, 2007, at 3:47 PM, Ryan McKinley wrote:

currently no.

Right now you even need a new request for each delete...

Unless you used delete-by-query with the id's OR'd....

        <delete><query>id:1 OR id:2 OR id:3</query</delete>


Patrick Givisiez wrote:
can I add and delete docs at same post?
Some thing like this:
myDocs.xml
=====================================
<add>
<doc><field name="mainId">4</field></doc>
<doc><field name="mainId">5</field></doc>
<doc><field name="mainId">6</field></doc>
</add>
<delete><id>1</id></delete>
<delete><id>2</id></delete>
<delete><id>3</id></delete>

One point about that example is that it is not well-formed XML. At the very least if we were to support multiple operations it'd be wrapped to make it well-formed.

        Erik

Reply via email to