On Dec 3, 2007 5:22 PM, Jeff Leedy <[EMAIL PROTECTED]> wrote:

> I was wondering if there was a way to post a delete query using curl to
> delete all records that do not contain a certain field--something like
> this:
>
> curl http://localhost:8080/solr/update --data-binary
> '<delete><query>-_title:[* TO *]</query></delete>' -H
> 'Content-type:text/xml; charset=utf-8'
>
> The minus syntax seems to return the correct list of ids (that is, all
> records that do not contain the "_title" field) when I use the Solr
> administrative console to do the above query, so I'm wondering if Solr
> just doesn't support this type of delete.


Not yet... it makes sense to support this in the future though.

-Yonik

Reply via email to