I will look at it, thanks. In the meantime, I answered my own question. The
IndexSearcher class has a .doc method that does it.
document = indexSearcher.doc ( int_DocumentNumber ) ;
----- Original Message -----
From: "Otis Gospodnetic" <otis_gospodnetic@yahoo.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
Sent: Tuesday, June 25, 2002 1:31 PM
Subject: Re: Retrieve documents from index by document number
> Check the Hits class API:
>
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Hits.html >
> Otis
>
> --- Chris Sibert <chrissibert@attbi.com> wrote:
> > Anybody know how to retrieve a stored document from an index by it's
> > document number ? I have a list of search hits, and when the user
> > clicks on one, I want to pull the stored document up out of the
> > index.
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
> --
> To unsubscribe, e-mail:
<mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:lucene-user-help@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>