Erik Hatcher wrote:

Where did you get 'i'? Keep in mind that using Hits.doc(n) intends 'n' to be a document *id*, not the iteration through the Hits collection. This is a very common mistake, and I'm guessing one you've made here.

I believe the Javadoc (as well as my own experience) tells otherwise:

"public final Document doc(int n) throws IOException

    Returns the stored fields of the nth document in this set."


Regards,

Chris
--


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



Reply via email to