Re: Search for Field is blank

2012-06-14 Thread Simon Svensson
I presume that you mean a missing field, not a blank field. You can do this by using TermRangeQuery and passing null for term values. A null value means that it's an open end ([A To *] or [* TO Z]), two null values means it will match anything ([* TO *]). The main difference compared to MatchAl

Re: Search for Field is blank

2012-06-14 Thread Itamar Syn-Hershko
Give blank entries some value that will never appear otherwise and search on it, that's the easiest solution On Thu, Jun 14, 2012 at 10:20 PM, Trevor Watson wrote: > I was wondering if there is a way to search for a field being blank. > > We keep track of file extensions in our software and would

RE: Search for Field is blank

2012-06-14 Thread Lingam, ChandraMohan J
I would be interested in hearing a good solution for this as well. Currently, I am handling missing values with the word: "(blank)". Not sure if there is a capability to pull all the matching documents that don't have a particular field. -Original Message- From: Trevor Watson [mailto: