Re: Solr Search For Documents That Has Empty Content For a Given Particular Field

2014-04-04 Thread Alexandre Rafalovitch
And one solution is to use UpdateRequestProcessor that will create a separate binary field for presence/absence and query on that instead. Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Fri, A

Re: Solr Search For Documents That Has Empty Content For a Given Particular Field

2014-04-04 Thread Chris Hostetter
: "field" : "" // this is the field that I want to learn which document has : it. How you (can) query for a field value like that is going to depend entirely on the FieldTYpe/Analyzer ... if it's a string field, of uses KeywordTokenizer then q=field:"" should find it -- if you use a more tradi

Re: Solr Search For Documents That Has Empty Content For a Given Particular Field

2014-04-04 Thread Ahmet Arslan
Hi, Weird, for type="string" it works for me. What is the field type you are using?  On Friday, April 4, 2014 6:25 PM, Furkan KAMACI wrote: Hi; II tried it before but does not work 2014-04-04 18:08 GMT+03:00 Ahmet Arslan : Hi Furkan, > >q=fiel:""&fl=field works for me (4.7.0).  > >Ahmet >

Re: Solr Search For Documents That Has Empty Content For a Given Particular Field

2014-04-04 Thread Furkan KAMACI
Hi; II tried it before but does not work 2014-04-04 18:08 GMT+03:00 Ahmet Arslan : > Hi Furkan, > > q=fiel:""&fl=field works for me (4.7.0). > > Ahmet > > > On Friday, April 4, 2014 5:50 PM, Furkan KAMACI > wrote: > Hi; > > How can I find the documents that has empty content for a given field.

Re: Solr Search For Documents That Has Empty Content For a Given Particular Field

2014-04-04 Thread Ahmet Arslan
Hi Furkan, q=fiel:""&fl=field works for me (4.7.0).  Ahmet On Friday, April 4, 2014 5:50 PM, Furkan KAMACI wrote: Hi; How can I find the documents that has empty content for a given field. I don't mean something like: -field:[* TO *] because it returns the documents that has not given parti