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
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:
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
doesnt seem to work.. Am I doing anything wrong??
Thanks,
BB
--
View this message in context:
http://lucene.472066.n3.nabble.com/Is-there-a-way-to-delete-multiple-documents-using-wildcard-tp933468p933468.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
in context:
http://lucene.472066.n3.nabble.com/Is-there-a-way-to-delete-multiple-documents-using-wildcard-tp933468p933585.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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
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.
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
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
/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
Sent from the Solr - User mailing list archive at Nabble.com.
12 matches
Mail list logo