On Friday 14 November 2008 15:11:46 Dan A. Dickey wrote:
> Note to whomever writes documentation:
> It would be nice to note in the documentation for doing a <delete>
> that the <id> has to be exactly <id>, and not the <id>whatever</id>
> that is specified in the schema.xml configuration file.  For doing deletes
> by id, of course.  :)
> 
> The wiki at 
> http://wiki.apache.org/solr/UpdateXmlMessages?highlight=%28delete%29
> was just a little misleading, at least for me.

Ok, hold on a sec... let m
e clarify just a bit.

In my schema.xml I have something like:
        <uniqueKey>myID</uniqueKey>

The xml:
        <delete><myID>fred</myID></delete>
fails.

The xml:
        <delete><id>fred</id></delete>
works.
        -Dan

-- 
Dan A. Dickey
[EMAIL PROTECTED]

SAVVIS, Inc.
Built to Respond

Reply via email to