Hi, My sample code is:
Searchable[] remoteSearch = new Searchable[sindexes.Length];
for (int i = 0; i < sindexes.Length; i++)
{
if(sindexes[i].Trim().Length>0)
remoteSearch[i] = new IndexSearcher(sindexes[i]);
}
searcherPM = new ParallelMultiSearcher(remoteSearch);
QueryParser qp = new QueryParser("text", new
Lucene.Net.Analysis.Standard.StandardAnalyzer());
Query query = qp.Parse(InputText);
hits = searcherPM.Search(query);
Here I use hits = searcherPM.Search(query);
but as recommended I need to use this call
TopDocs result = searcherPM.Search(query, null, nTo);
Who can say me how to retrieve Document from the result TopDocs when I use ParallelMultiSearch?
Thanx.