You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "i.luv.lucene i.luv.lucene" <i....@gmail.com> on 2006/02/02 20:36:05 UTC
ParallelMultiSearcher exposing number of hits for each Searchable...
ParallelMultiSearcher.java
In both search(Weight weight, Filter filter, int nDocs) and public
TopFieldDocs search(Weight weight, Filter filter, int nDocs, Sort sort),
there's a line:
>>> totalHits += msta[i].hits();
Would it be possible and useful to other developers if ParallelMultiSearcher
(and I guess MultiSearcher) exposed the number of hits for each Searchable,
in addition to having totalHits, the cumulative count?
Thank you very much