Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
in case). From: solr-user@lucene.apache.org At: 09/21/17 13:28:13To: solr-user@lucene.apache.org Subject: Re: Is there a way to delete multiple documents using wildcard? Hi, Delete by query should work - posting to /update *:* should delete all doc. HTH, Emir > On 21 Sep 2017, at 05

Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread Emir Arnautović
Hi, Delete by query should work - posting to /update *:* should delete all doc. HTH, Emir > On 21 Sep 2017, at 05:25, balmydrizzle wrote: > > Doesn't work, either. wildcard query can't be used in delete. At least for > old Solr 3.x > > > > -- > Sent from:

Re: Is there a way to delete multiple documents using wildcard?

2017-09-21 Thread balmydrizzle
Doesn't work, either. wildcard query can't be used in delete. At least for old Solr 3.x -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread Sascha Szott
Hi, you can delete all docs that match a certain query: deletequeryuid:6-HOST*/query/delete -Sascha bbarani wrote: Hi, I am trying to delete a group of documents using wildcard. Something like

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread bbarani
Hi, Thanks a lot for your reply.. I tried the below query update?commit=true%20-H%20Content-Type:%20text/xml%20--data-binary%20'deletequeryuid:6-HOST*/query/delete' But even now none of the documents are getting deleted.. Am I forming the URL wrong? Thanks, BB -- View this message in

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread Sascha Szott
Hi, does /select?q=uid:6-HOST* return any documents? -Sascha bbarani wrote: Hi, Thanks a lot for your reply.. I tried the below query update?commit=true%20-H%20Content-Type:%20text/xml%20--data-binary%20'deletequeryuid:6-HOST*/query/delete' But even now none of the documents are getting

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread bbarani
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:

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread Jan Høydahl / Cominvent
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 deletequeryuid:6-HOST*/query/delete -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread Sascha Szott
Hi, take a look inside Solr's log file. Are there any error messages with respect to the update request? Furthermore, you could try the following two commands instead: curl http://host:port/solr/update; --form-string stream.body=deletequeryuid:6-HOST*/query/delete curl

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread bbarani
Hi, I was able to sucessfully delete multiple documents using the below URL /update?stream.body=deletequeryuid:6-HOST*/query/delete Thanks, BB -- View this message in context: http://lucene.472066.n3.nabble.com/Is-there-a-way-to-delete-multiple-documents-using-wildcard-tp933468p933799.html

Re: Is there a way to delete multiple documents using wildcard?

2010-06-30 Thread Jan Høydahl / Cominvent
Hmm, nice one - I was not aware of that trick. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 30. juni 2010, at 18.41, bbarani wrote: Hi, I was able to sucessfully delete multiple documents using the below URL