When a search request is submitted, Routing uses the /atg/search/routing/DynamicTargetGenerator
component to determine the search environment, the set of logical partitions, and possible constraints for the request. The DynamicTargetGenerator
takes into account the following properties of the QueryRequest
component:
contentLabels
-- An array of the content labels to direct the request to. These content labels must all be associated with the same search project.targetType
-- The target type to direct the request to.dynamicTargetSpecifier
-- A component of classatg.search.routing.command.search.DynamicTargetSpecifier
, which is used to specify site information; by default,/atg/search/routing/command/search/DynamicTargetSpecifier
. If this property is not set, aDynamicTargetSpecifier
is created automatically.siteConstraints
-- A component of classatg.search.routing.command.search.MultisiteConstraint
; by default,/atg/search/routing/command/search/MultisiteConstraint
.
DynamicTargetSpecifier
and MultisiteConstraint
are described below.