Re: Deleting Documents with null fields by query

2010-10-11 Thread Erick Erickson
"erase all the content". Oops. first, I should look more carefully. You don't want the AND in there, use *:* -content:[* TO *] In general, don't mix and match booleans and native Lucene query syntax... Before sending this to Solr, what do you get back when you try just the query in, say, the adm

Re: Deleting Documents with null fields by query

2010-10-11 Thread Claudio Devecchi
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 wrote: > Have you tried something like: > > '*:* AND > -content:[* TO *] > > > On Mon, Oct 11, 2010 a

Re: Deleting Documents with null fields by query

2010-10-11 Thread Erick Erickson
Have you tried something like: '*:* AND -content:[* TO *] On Mon, Oct 11, 2010 at 4:01 PM, Claudio Devecchi 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 work

Deleting Documents with null fields by query

2010-10-11 Thread Claudio Devecchi
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/