lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: NOT queries
Date Tue, 21 Nov 2006 22:48:00 GMT
On Tuesday 21 November 2006 23:14, Antony Bowesman wrote:

>  I
> assume that you first have to create a BooleanClause that finds
> everything and then another Clause that removes the "attribute".
>
> Is this right or is there another way to do it?

That's correct. For the "find everything" part you can use 
MatchAllDocsQuery.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message