I have this search which returns TopDocs
TopDocs topDocs = searcher.Search(query, bookFilter, maxDocsToFind);


How do I get the document object for the ScoreDoc?

 foreach (ScoreDoc scoreDoc in topDocs.scoreDocs)
{
??????    Document myDoc =   GetTheDocument(scoreDoc.doc); ??????
}

Reply via email to