> I'm using SOLR 1.4 with a few
> multi-cores, running under a Tomcat 6
> environment.  I'm using the web services to pass xml
> documents for adding
> records with no problem, using a URL on my development
> machine of "
> http://localhost:8080/Solr/product/update/";
> 
> I've tried implementing an XML-based delete, but am having
> issues with it.
> 
> My Schema uses the default "id" field as the unique
> identifier, which for
> products contains Alphanumeric charcters (ie A12345).
> 
> According to examples and SOLR 1.4 book, it appears that
> the delete xml
> syntax should simply be:
>  <delete><id>A12345</id></delete>
> 
> When I try to submit this to the Solr/product/update url

How are you submitting this (POST or GET)?

Does this work:

curl http://localhost:8080/Solr/product/update -H "Content-Type: text/xml" 
--data-binary '<delete><id>A12345</id></delete>'







Reply via email to