DeleteByQuery using xml commands in SolrCloud
I tried to execute the following on my cluster, but it had no results. Should this work? curl http://host:port/solr/collection1/update/?commit=true -H Contenet-Type: text/xml --data-binary 'deletequery*:*/query/delete'
Re: DeleteByQuery using xml commands in SolrCloud
On Mon, Apr 16, 2012 at 4:13 PM, Jamie Johnson jej2...@gmail.com wrote: I tried to execute the following on my cluster, but it had no results. Should this work? curl http://host:port/solr/collection1/update/?commit=true -H Contenet-Type: text/xml --data-binary 'deletequery*:*/query/delete' Is this a cut-n-paste of what you actually sent? If so, Content-Type is misspelled (but I'm not sure if that's the issue) -Yonik lucenerevolution.com - Lucene/Solr Open Source Search Conference. Boston May 7-10
Re: DeleteByQuery using xml commands in SolrCloud
wow. I have nothing else to say. Worked perfectly once I fixed that, thanks. On Mon, Apr 16, 2012 at 4:16 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Mon, Apr 16, 2012 at 4:13 PM, Jamie Johnson jej2...@gmail.com wrote: I tried to execute the following on my cluster, but it had no results. Should this work? curl http://host:port/solr/collection1/update/?commit=true -H Contenet-Type: text/xml --data-binary 'deletequery*:*/query/delete' Is this a cut-n-paste of what you actually sent? If so, Content-Type is misspelled (but I'm not sure if that's the issue) -Yonik lucenerevolution.com - Lucene/Solr Open Source Search Conference. Boston May 7-10