Hi,
I am trying to delete all documents that have null values for a certain
field.  To that effect I can see all of the documents I want to delete by
doing this query:
-date_added_solr:[* TO *]

This returns about 32,000 documents.

However, when I try to put that into a curl call, no documents get deleted:
curl http://localhost:8985/solr/newsblog/update?commit=true -H
"Content-Type: text/xml" --data-binary '<delete><query>-date_added_solr:[*
TO *]</query></delete>'

Solr responds with:
<response>
<lst name="responseHeader"><int name="status">0</int><int
name="QTime">364</int></lst>
</response>

But nothing happens, even if I explicitly issue a commit afterward.

Any ideas?

Thanks.

Reply via email to