Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Get a Document by id

fernanvi

2008-11-10

Replies: Find Java Web Hosting

Author LoginPost Reply

Hello.
I am trying to obtain a Document to work directly on it.
I have already the id number, but I do not know obtain like the object
Document from this number id.
...
     
while (td.next()) {
int docNum = td.doc();// document number
.....

I need get the docNum Document.

Thanks
--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.