lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From petite_abeille <>
Subject Re: Searching for null value?
Date Fri, 11 Apr 2003 12:55:39 GMT
Hi Alex,

On Friday, Apr 11, 2003, at 14:39 Europe/Zurich, Alex Murzaku wrote:

> I don't think a free standing NOT query works. The best way would be to
> have a default value that is there for every record (some kind of
> support field) which in turn can be combined with a NOT query, e.g.:
> 	+field:category -category:junk
> which assumes you have a field called "field" and a field called
> "category"...

I see. What about the other way around? Is there a way to express a 
query for the existence of a field, no matter what its value might be? 
Something like: search for all documents with a field named "category"?




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message