lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Limiting hit count
Date Fri, 13 Feb 2004 12:02:14 GMT
On Friday 13 February 2004 12:18, Julien Nioche wrote:
> If you want to limit the set of Documents you're querying, you should
> consider using Filter objects and send it to the searcher along with your
> Query.

Hm, hard to find information about Filters...I actually only want the first 
public BitSet bits(IndexReader reader) throws IOException
	BitSet bs = new BitSet(1); 
	return bs;

...doesn't work (i.e. returns nothing rather than all hits).


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

View raw message