NutchBean.search with maxHitsPerDup

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

NutchBean.search with maxHitsPerDup

Jonah Gold
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