lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Vink" <ianv...@gmail.com>
Subject TopDocs
Date Fri, 05 Dec 2008 02:59:18 GMT
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); ??????
}

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message