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: need some advice/help with negative query.
Date Fri, 06 Jan 2006 19:40:32 GMT
On Freitag 06 Januar 2006 18:04, Beady Geraghty wrote:

> For now, I have a limited set of documents (say, 10000) to index.
> I can create a bitset that represents the search result of hits on
> "apple".

The development version of Lucene contains a MatchAllDocsQuery so you can 
create queries (programmatically) like:

MatchAllDocsQuery -apple

I guess this is is memory-efficient. MatchAllDocsQuery can be backported 
easily.

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