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





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to