You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Jonah Gold <ha...@gmail.com> on 2005/08/26 16:50:56 UTC

NutchBean.search with maxHitsPerDup

Hi -

I'm experiencing some confusing (to me) behavior with NutchBean.search
in Nutch 0.7.

If I call NutchBean.search(query,10), it returns a Hits object with 10
hits, as expected.

However, if I call NutchBean.search(query,10,10) - the third parameter
specifying maxHitsPerDup - it returns 11 hits.

If I call NutchBean.search(query, 10, 0), it returns 10 hits again.

Where is this extra hit in the case of a nonzero maxHitsPerDup coming from?

Thanks!

--
jonah gold