lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohsen Saboorian <mohs...@gmail.com>
Subject Re: Hits.hitDoc(int)
Date Sun, 01 Apr 2007 10:19:12 GMT

I was just *incorrectly* thinking that this is an API problem, and that's why
I sent my mail to this list. Anyway, sorry for  disturbance.


Chris Hostetter wrote:
> 
> 
> 1) if you have questions about using the java lucene library, please send
> them to the java-user@lucene 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 don't understand why you think you need to iterate to get the nth match
> ... just call hits.doc(n)
> 
> 
> 
> -Hoss
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Hits.hitDoc%28int%29-tf3500174.html#a9776352
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message