The goal of this roadmap is to install and configure Search in an integrated environment with ATG Commerce, Content Administration, and Merchandising. This configuration is often referred to as Commerce Search. It also includes the use of standalone Search engines.

You will need three ATG instances for this product combination:

The servers can be set up on separate machines, or run as separate instances on one machine if it has plenty of memory. The latter option is not recommended for a live site, but you may use such a configuration for evaluation or testing purposes. You may also want to dedicate resources for additional Search engines.

Note that the staging server is not required for this product combination, though it is recommended. Your configuration may also include a preview server.

Some of the steps in this procedure can be performed using ATG’s CIM tool. These steps are noted in the roadmap. See Configuring Search with CIM and the CIM online help for additional information.

Architecture Diagram

This section provides a visual explanation of the pieces involved in a Commerce Search installation. For each server, the diagram shows key ATG modules and other components.

The diagram includes the following ATG databases, each of which includes data for several repositories:

If you use ATG Customer Intelligence, you also have a data warehouse, not included in this diagram. See the ATG Customer Intelligence Installation and Configuration Guide for reporting information.

Servers, Products, and Databases for Commerce Search

Before You Begin

Before you begin installing Search with Commerce, CA, and Merchandising:

Basic Installation Steps

This section covers the actual installation of the components and database configuration.

  1. Install your application server on all machines that will be used for ATG instances. See the ATG Installation and Configuration Guide for information on configuring your application server for ATG products.

    Note: If you are using standalone Search engines, those do not need to have an application server.

  2. Download and install ATG products. Some applications will be included in more than one EAR file during deployment.

    • ATG platform; select all components when installing

      The platform includes the DAF.Search.Routing module, which will run on the production and staging servers using local routing (see the Recommended Search Architecture section).

    • ATG Merchandising

    • ATG Search; select the Full Search Install option. Install the HTML and PDF components if needed (see Installing HTMLFilter and Installing PDF Extract in this guide).

    If using standalone Search engines, see Adding Search Engines.

  3. Create your asset management, staging, and production ATG servers. See the ATG Programming Guide for information.

    Note: This step can be performed using CIM.

  4. Configure database(s) and data sources for all applications.

    Note: This step can be performed using CIM.

    Note that the documentation referenced is extensive; review it carefully before proceeding.

Asset Management Server Configuration Steps

Configure the asset management server. This server runs Content Administration, Merchandising, and Search Administration.

  1. Configure the /atg/search/service properties for the administration server. See Configuring SearchSQLRepository Components in this guide.

  2. Make sure that locking is enabled. The production server will be the ServerLockManager. See Configuring the Lock Manager in this guide.

  3. Configure Commerce Components. See Configuring the IndexingOutputConfig Component and Configuring Customization Adapters for Search Merchandising in this guide, and also the ATG Commerce Search Guide.

  4. Set up your asset management server. See the Setting Up an Asset Management Server chapter of the ATG Content Administration Programming Guide.

Staging and Production Server Configuration Steps

Configure the production and staging servers.

  1. Create a client application. See the ATG Commerce Programming Guide.

  2. Make sure that locking is enabled and that the production server is configured to be the ServerLockManager. See Configuring the Lock Manager in this guide.

  3. Configure your Commerce client. See the ATG Commerce Search Guide.

Build and Deploy Applications

For information on building EAR files, see the Assembling Applications section in the Developing and Assembling Nucleus Applications chapter of the ATG Programming Guide. If using JBoss, you should also refer to the Using the startDynamoOnJBOSS Script section of the ATG Installation and Configuration Guide.

Note: These steps can be performed using CIM.

See Appendix E: ATG Modules in the ATG Programming Guide for a list of modules and their features.

  1. Build and deploy the asset management server EAR file. Include the following modules:

    • DCS.Search.Versioned

    • SearchAdmin.AdminUI

    • DCS-UI.Search

    • Publishing

    • DCS.UI.Management

    Note: If you are going to run Search Administration as part of a standalone EAR, you must do the following:

    • Run the ATG Search installer and install a standalone Search engine on the machine to which you are going to deploy your EAR. See Adding Search Engines in this guide.

    • Add an engineDir property to the /atg/search/routing/LaunchingService component, and set it to point to the new Search engine’s <Searchdir>\SearchEngine directory. For example:

      engineDir=c:\\ATG\\ATG9.3\\Search9.3\\SearchEngine

  2. Build and deploy the production and staging server EAR files. Include the following modules:

    • DCS.Search

    • DCS.PublishingAgent

    • DAF.Search.Routing

    • DafEar.Admin

Post-Deployment Configuration

The following tasks are performed in your running ATG applications.

  1. Use Content Administration to create your deployment topology, and initialize your deployment targets by doing a full deployment. See the ATG Content Administration Programming Guide.

    Note: If you are going to use Refinement Configurations (aka Facets), include the RefinementRepository in your repository mappings for your production and staging deployment targets.

  2. After deploying your catalog from Content Administration to the production server, make sure the Product Catalog update and Catalog Maintenance services are run (this step is necessary in order to index your catalog). See the ATG Commerce Programming Guide.

  3. Use the ATG Business Control Center to access ATG Search Administration. See Accessing Search Administration in this guide.

  4. In Search Administration, create a Search project and add content and any customizations, such as languages and custom dictionaries. See the ATG Search Administration Guide. Use the following settings when you add the content:

    • Content Type—ATG Repository

    • IndexingOutputConfigPath—/atg/commerce/search/ProductCatalogOutputConfig

    • Location—Remote

    Set the Host Machine and Port as appropriate for the content location.

    At this point, you can use the default environments to estimate the size of your index and evaluate whether you have dedicated sufficient resources for indexing and answer serving.

    Note: A Search project bears no relationship to a Content Administration project. The Search project is a persistent item that defines the content you want to include in your index, what type of index you want to create and any customization data used during indexing. Search does not use workflows.

  5. If using standalone Search engines, add those hosts to your Search environment. See the ATG Search Administration Guide. Search environments associate a project with the physical resources that project uses to index content and serve answers.

  6. Index your catalog, using the “Full” indexing option.

  7. Configure Merchandising as described in “Structuring the Search Configuration Tree” and the sections that follow in the ATG Merchandising User Guide.

Testing Your Installation

To test your installation, you can use the Search Query Console (see the Sample Application section of the ATG Commerce Search Guide) or Merchandising (see the ATG Merchandising User Guide). Use the following steps:

  1. Deploy your content.

  2. Index the content.

  3. On your production site, make sure you get search results

  4. Use Merchandising to change the catalog.

  5. Deploy the changes.

  6. Reindex the content.

  7. Verify the change on your production site.

 
loading table of contents...