Summary
Prioritizes requests based on whether or not the current request's host is the same as the host of the current requests's parent.
For a list of all members of this type, see
StayOnHostComparer Members
.
Type Relationships
System.ObjectEas.WebCrawler.PlugIns.RequestComparers.BaseComparer
Eas.WebCrawler.PlugIns.RequestComparers.DecoratingComparer
Eas.WebCrawler.PlugIns.RequestComparers.BaseRequestDesirabilityComparer
Eas.WebCrawler.PlugIns.RequestComparers.StayOnHostComparer
Declaration Syntax
Public Class StayOnHostComparer
Inherits BaseRequestDesirabilityComparer
public class StayOnHostComparer : BaseRequestDesirabilityComparer
public __gc class StayOnHostComparer : public BaseRequestDesirabilityComparer
public class StayOnHostComparer extends BaseRequestDesirabilityComparer
Remarks
The intent here is to be able to say 'go broad' or 'go deep'. In other words, do you choose to prioritize links that stay on the same host, or do you prioritize links that go to a different host. Priority ties are handled by an inner BaseComparer.Requirements
Namespace: Eas.WebCrawler.PlugIns.RequestComparersAssembly: Eas.WebCrawler.PlugIns (eas.webcrawler.plugins.dll)