Hi,
Since Hits.hitDoc(int) is private, the only way to access nth documet in a
returnd Hits object is to iterate over it n times. Why don't you make it
public?
Thanks.
--
View this message in context:
http://www.nabble.com/Hits.hitDoc%28int%29-tf3500174.html#a9775149
Sent from the L
1) if you have questions about using the java lucene library, please send
them to the [EMAIL PROTECTED] mailing list ... java-dev if for discussing
hte development of the library.
2) ...
: Since Hits.hitDoc(int) is private, the only way to access nth documet in a
: returnd Hits object is to
TED] mailing list ... java-dev if for discussing
> hte development of the library.
>
> 2) ...
>
> : Since Hits.hitDoc(int) is private, the only way to access nth documet in
> a
> : returnd Hits object is to iterate over it n times. Why don't you make it
> : public?
>
: I was just *incorrectly* thinking that this is an API problem, and that's why
well, even if you think there is a problem with the API, the best approach
is to start by emailing question to java-user to make sure you understand
the correct usage of the API, and then once you are sure that you a