: i'm having no luck deleting by a negative query.... a quick glance at teh code and i don't think delete by query does "the right thing" with a purely negative query ... when the customization was added to SOlr to support pure negative queries it was done at the SolrIndexSearcher level when computing DocSets, but delete by query uses a lower level method passing in a HitCOllector.
the work arround is to include *:* in yoru query ... <delete><query>*:* -solr</query></delete> ... if/when this is fixed in Solr that's esentally what solr will do under the covers. (would you mind opening a bug to track this and mention the work arround for other people who encounter it) -Hoss