lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl / Cominvent <jan....@cominvent.com>
Subject Re: Is there a way to delete multiple documents using wildcard?
Date Wed, 30 Jun 2010 16:07:09 GMT
Hi,

You need to use HTTP POST in order to send those parameters I believe. Try with curl:

curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary
"<delete><query>uid:6-HOST*</query></delete>"

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Training in Europe - www.solrtraining.com

On 30. juni 2010, at 17.53, bbarani wrote:

> 
> Yeah, I am getting the results when I use /select handler.
> 
> I tried the below query..
> 
> /select?q=uid:6-HOST*
> 
> Got <result name="response" numFound="52920" start="0">
> 
> Thanks
> BB
> -- 
> View this message in context: http://lucene.472066.n3.nabble.com/Is-there-a-way-to-delete-multiple-documents-using-wildcard-tp933468p933697.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message