lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "i.luv.lucene i.luv.lucene" <i.luv.luc...@gmail.com>
Subject ParallelMultiSearcher exposing number of hits for each Searchable...
Date Thu, 02 Feb 2006 19:36:05 GMT
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

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