Hi, if you have the document number then you can get the document by using searcher = getSearcher(); document = searcher.doc(document number);
Prabin On Mon, Nov 10, 2008 at 11:03 AM, fernanvi <[EMAIL PROTECTED]>wrote: > > 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 > -- > View this message in context: > http://www.nabble.com/Get-a-Document-by-id-tp20414568p20414568.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >