Hey pals,

I am trying to delete a couple documents that don't have any value on a
given integer field. This is the command I am executing:

$curl http://<host>:<port>/solr/update -H 'Content-Type:text/xml' -d
'<delete><query>-(deptId:[1 TO *])</query></delete>'
$curl http://<host>:<port>/solr/update -H 'Content-Type:text/xml' -d
'<commit/>'

But the documents don't get deleted.

Solr doesn't return any error message, its log seems ok. Any idea?
-- 
Alexander Ramos Jardim

Reply via email to