Re: Retrieving field or Document using document id.

2006-05-09 Thread karl wettin
On Tue, 2006-05-09 at 13:53 -0400, varun sood wrote: > Hi, > I have "Doc. Id" of the document stored in the database. Now I want to > query database on that "Doc. Id" (which will always return one document). > How can I do this? Are you aware that the document number created by Lucene is conside

Retrieving field or Document using document id.

2006-05-09 Thread varun sood
Hi, I have "Doc. Id" of the document stored in the database. Now I want to query database on that "Doc. Id" (which will always return one document). How can I do this? To avoid confusion, I am talking about the "Doc. Id" which Lucene automatically creates for every document and hence is unique fo