Under normal circumstances, Search Routing runs locally, as part of your Oracle ATG Web Commerce Search installation. It is possible to direct queries to Routing instances running as part of other Search installations, however, and you may want to do this as part of your development environment, allowing multiple clients to access a single Search Administration instance, or to conserve processing resources.

The DAF.Search.Base module is a lightweight Routing module that can be run in a separate Oracle ATG Web Commerce instance, independent of Search Administration. You can run multiple instances of this module. An example of this architecture follows:

To connect a form handler to a remote Routing instance, configure the /atg/search/formhandlers/SearchContext component as shown:

primaryConnection=rmi://remotehostA:8860/atg/search/routing/SearchService
failoverConnections=\
  rmi://remotehostB:port/atg/search/routing/SearchService,\
  rmi://remotehostC:port/atg/search/routing/SearchService,\
  rmi://remotehostD:port/atg/search/routing/SearchService

The remote Routing component uses the primaryConnection unless it fails, in which case it uses a connection from the failoverConnection. If the first failoverConnection fails, it moves to the next, etc.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices