lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <>
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 



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

View raw message