On Thursday 26 July 2007 03:12:20 daniel rosher wrote: > In this case you should look at the source for RangeFilter.java. > > Using this you could create your own filter using TermEnum and TermDocs > to find all documents that had some value for the field.
That's certainly the way to do it for speed. For the least code you can probably do... BooleanFilter f = new BooleanFilter(); f.add(new FilterClause(RangeFilter.More("field", ""), BooleanClause.Occur.MUST_NOT)); f = new CachingWrapperFilter(f); Daniel -- Daniel Noll Nuix Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699 Web: http://nuix.com/ Fax: +61 2 9212 6902 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]