Hi,
In 0.7 release functionality to deduplicate results not only by site has been added and Hit.getSite() that was used for deduplication was changed to Hit.getDedupvalue() - in default setup (using standard NutchBean) it still returns site I think. But having said that I would probably use HitDetails.

Regards
Piotr
Lucas Rockwell wrote:
Hi all,

The incredibly useful Hit.getSite() no longer seems to exist in 0.7. Any idea what I should use instead? Basically, I want either the site URL or hostname for the hit.

Or should I create a HitDetails using Hit.getIndexDocNumber() and then get the site by using HitDetails.getValue("site")?

Many thanks.

-lucas



Reply via email to