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 
hit:
                        
public BitSet bits(IndexReader reader) throws IOException
{
        BitSet bs = new BitSet(1); 
        bs.set(1);
        return bs;
}

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

Timo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to