lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Szott <sz...@zib.de>
Subject Re: Is there a way to delete multiple documents using wildcard?
Date Wed, 30 Jun 2010 15:03:47 GMT
Hi,

you can delete all docs that match a certain query:

<delete><query>uid:6-HOST*</query></delete>

-Sascha

bbarani wrote:
>
> Hi,
>
> I am trying to delete a group of documents using wildcard. Something like
>
> update?commit=true%20-H%20"Content-Type:%20text/xml"%20--data-binary%20'<delete><doc><field%20name="uid">6-HOST*</field></doc></delete>'
>
> I want to delete all documents which contains the uid starting with 6-HOST
> but this query doesnt seem to work.. Am I doing anything wrong??
>
> Thanks,
> BB

Mime
View raw message