yes.. dont work, doing it I erase all the content. :(
or, another thing that will help me is to make a query that doesnt bring the null one. tks On Mon, Oct 11, 2010 at 5:27 PM, Erick Erickson <erickerick...@gmail.com>wrote: > Have you tried something like: > > '<delete><query>*:* AND > -content:[* TO *]<query></delete> > > > On Mon, Oct 11, 2010 at 4:01 PM, Claudio Devecchi <cdevec...@gmail.com > >wrote: > > > Hi everybody, > > > > I'm trying to delete by query some documents with null content (this > > happened because I crawled my intranet and somethings came null) > > > > When I try this works fine (I'm deleting from my solr index every > document > > that dont have wiki on the field content) > > curl http://localhost:8983/solr/update?commit=true -H 'Content-Type: > > text/xml' --data-binary '<delete><query>*:* AND > > -content:wiki<query></delete>' > > > > Now I need to make a query that delete every document that have the field > > content null. > > > > Somebody could help me pls? > > > > Tks > > CLaudio > > > -- Claudio Devecchi flickr.com/cdevecchi