Re: Random selection of files

2008-02-04 Thread Erick Erickson
Well, assuming that by "same weight" you are referring to the document scores (relevance), you certainly have to do the search first. But you can use TopDocs to get a list of the document IDs arranged by decreasing score i.e. sorted by relevance. But "same weight" is tricky. It's virtually certain

Re: Random selection of files

2008-02-04 Thread Ian Lea
Hi I think you would need to do the search to get list of 1000 doc ids, but wouldn't need to retrieve all 1000. Just pick your random 10 from the list and retrieve them. -- Ian. [EMAIL PROTECTED] On Feb 4, 2008 11:37 AM, Juerg Meier <[EMAIL PROTECTED]> wrote: > Hi, > > We have the requiremen