lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Problems with deletion with 1.4
Date Mon, 21 Jun 2010 07:21:05 GMT
> 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>'






      

Mime
View raw message